Introduce a MessageContext class for more flexibility
This change will allow to pass message dependencies from the client validators to the ValidationManager.
Showing
- briar-api/src/org/briarproject/api/clients/BdfMessageContext.java 28 additions, 0 deletions...i/src/org/briarproject/api/clients/BdfMessageContext.java
- briar-api/src/org/briarproject/api/clients/MessageQueueManager.java 6 additions, 3 deletions...src/org/briarproject/api/clients/MessageQueueManager.java
- briar-api/src/org/briarproject/api/sync/BaseMessageContext.java 17 additions, 0 deletions...api/src/org/briarproject/api/sync/BaseMessageContext.java
- briar-api/src/org/briarproject/api/sync/InvalidMessageException.java 20 additions, 0 deletions...rc/org/briarproject/api/sync/InvalidMessageException.java
- briar-api/src/org/briarproject/api/sync/MessageContext.java 26 additions, 0 deletionsbriar-api/src/org/briarproject/api/sync/MessageContext.java
- briar-api/src/org/briarproject/api/sync/ValidationManager.java 4 additions, 3 deletions...-api/src/org/briarproject/api/sync/ValidationManager.java
- briar-core/src/org/briarproject/clients/BdfMessageValidator.java 18 additions, 17 deletions...ore/src/org/briarproject/clients/BdfMessageValidator.java
- briar-core/src/org/briarproject/clients/MessageQueueManagerImpl.java 4 additions, 1 deletion...src/org/briarproject/clients/MessageQueueManagerImpl.java
- briar-core/src/org/briarproject/forum/ForumPostValidator.java 9 additions, 11 deletions...r-core/src/org/briarproject/forum/ForumPostValidator.java
- briar-core/src/org/briarproject/forum/ForumSharingValidator.java 3 additions, 2 deletions...ore/src/org/briarproject/forum/ForumSharingValidator.java
- briar-core/src/org/briarproject/introduction/IntroductionValidator.java 4 additions, 3 deletions.../org/briarproject/introduction/IntroductionValidator.java
- briar-core/src/org/briarproject/messaging/PrivateMessageValidator.java 3 additions, 2 deletions...c/org/briarproject/messaging/PrivateMessageValidator.java
- briar-core/src/org/briarproject/properties/TransportPropertyValidator.java 3 additions, 2 deletions...g/briarproject/properties/TransportPropertyValidator.java
- briar-core/src/org/briarproject/sync/ValidationManagerImpl.java 40 additions, 14 deletions...core/src/org/briarproject/sync/ValidationManagerImpl.java
- briar-tests/src/org/briarproject/clients/MessageQueueManagerImplTest.java 7 additions, 3 deletions...org/briarproject/clients/MessageQueueManagerImplTest.java
- briar-tests/src/org/briarproject/introduction/IntroductionValidatorTest.java 7 additions, 5 deletions.../briarproject/introduction/IntroductionValidatorTest.java
- briar-tests/src/org/briarproject/properties/TransportPropertyValidatorTest.java 2 additions, 1 deletion...iarproject/properties/TransportPropertyValidatorTest.java
- briar-tests/src/org/briarproject/sync/ValidationManagerImplTest.java 8 additions, 5 deletions.../src/org/briarproject/sync/ValidationManagerImplTest.java
Loading
Please register or sign in to comment