Package jadex.micro.tutorial
Class SpamInterceptorD4
- java.lang.Object
- 
- jadex.micro.tutorial.SpamInterceptorD4
 
- 
- All Implemented Interfaces:
- IServiceInvocationInterceptor
 
 public class SpamInterceptorD4 extends java.lang.Object implements IServiceInvocationInterceptor Simple interceptor that refuses messages of spammers.
- 
- 
Constructor SummaryConstructors Constructor Description SpamInterceptorD4()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>execute(ServiceInvocationContext context)Execute the interceptor.booleanisApplicable(ServiceInvocationContext context)Test if the interceptor is applicable.
 
- 
- 
- 
Method Detail- 
isApplicablepublic boolean isApplicable(ServiceInvocationContext context) Test if the interceptor is applicable.- Specified by:
- isApplicablein interface- IServiceInvocationInterceptor
- Returns:
- True, if applicable.
 
 - 
executepublic IFuture<java.lang.Void> execute(ServiceInvocationContext context) Execute the interceptor.- Specified by:
- executein interface- IServiceInvocationInterceptor
- Parameters:
- context- The invocation context.
 
 
- 
 
-