@StampyLibrary(libraryName="stampy-client-server") public class VersionListener extends java.lang.Object implements StampyMessageListener
| Constructor and Description |
|---|
VersionListener() |
| Modifier and Type | Method and Description |
|---|---|
StompMessageType[] |
getMessageTypes()
Gets the message types of which the implementation is interested.
|
boolean |
isForMessage(StampyMessage<?> message)
Returns true if the message should be processed by the implementation.
|
void |
messageReceived(StampyMessage<?> message,
HostPort hostPort)
Invoked when the type and the message are to be processed by the
implementation.
|
public StompMessageType[] getMessageTypes()
StampyMessageListenergetMessageTypes in interface StampyMessageListenerpublic boolean isForMessage(StampyMessage<?> message)
StampyMessageListenerisForMessage in interface StampyMessageListenermessage - the messagepublic void messageReceived(StampyMessage<?> message, HostPort hostPort) throws java.lang.Exception
StampyMessageListenermessageReceived in interface StampyMessageListenermessage - the messagehostPort - the host portjava.lang.Exception - the exception