@StampyLibrary(libraryName="stampy-NETTY-client-server-RI") public class NettyLoginMessageListener extends AbstractLoginMessageListener<ServerNettyMessageGateway>
StampyLoginHandler. Should the login handler throw a
TerminateSessionException this class will send an error to the
client, close the session and throw a MessageListenerHaltException to
prevent downstream processing of the message by the remaining
StampyMessageListeners.loggedInConnections| Constructor and Description |
|---|
NettyLoginMessageListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ensureCleanup()
Configure the gateway to clean up the queue of logged in connections on
session termination.
|
getGateway, getLoginHandler, getMessageTypes, isForMessage, messageReceived, setGateway, setLoginHandlerprotected void ensureCleanup()
AbstractLoginMessageListenerensureCleanup in class AbstractLoginMessageListener<ServerNettyMessageGateway>