Class MessageHandler
java.lang.Object
net.engio.mbassy.listener.MessageHandler
Any method in any class annotated with the @Handler annotation represents a message handler. The class that contains
the handler is called a message listener and more generally, any class containing a message handler in its class hierarchy
defines such a message listener.
- Author:
- bennidi Date: 11/14/12
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean<A extends Annotation>
AgetAnnotation(Class<A> annotationType) Class[]Class<? extends HandlerInvocation> intbooleanhandlesMessage(Class<?> messageType) booleanbooleanbooleanbooleanisFromListener(Class listener) booleanboolean
-
Constructor Details
-
MessageHandler
-
-
Method Details
-
getAnnotation
-
isSynchronized
public boolean isSynchronized() -
useStrongReferences
public boolean useStrongReferences() -
isFromListener
-
isAsynchronous
public boolean isAsynchronous() -
isFiltered
public boolean isFiltered() -
getPriority
public int getPriority() -
getMethod
-
getFilter
-
getCondition
-
getHandledMessages
-
isEnveloped
public boolean isEnveloped() -
getHandlerInvocation
-
handlesMessage
-
acceptsSubtypes
public boolean acceptsSubtypes()
-