@StampyLibrary(libraryName="stampy-NETTY-client-server-RI") public class ServerNettyMessageGateway extends AbstractStampyNettyMessageGateway
CHARSETinterceptors, textInterceptors| Constructor and Description |
|---|
ServerNettyMessageGateway() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection(HostPort hostPort)
Closes the connection to the STOMP server or client.
|
void |
connect()
Connects to a STOMP server or client as specified by configuration.
|
void |
shutdown()
Shuts down the underlying connection technology.
|
addHandler, broadcastMessage, getConnectedHostPorts, getHandler, initializeChannel, isConnected, removeHandler, sendMessage, setHandler, setupChannelPipelineaddMessageListener, addMessageListener, addOutgoingMessageInterceptor, addOutgoingTextInterceptor, broadcastMessage, clearMessageListeners, getHeartbeat, getMaxMessageSize, getPort, getUnparseableMessageHandler, interceptOutgoingMessage, interceptOutgoingMessage, interceptOutgoingMessage, isAutoShutdown, isForType, notifyMessageListeners, removeMessageListener, removeOutgoingMessageInterceptor, removeOutgoingTextInterceptor, sendMessage, setAutoShutdown, setHeartbeat, setListeners, setMaxMessageSize, setOutgoingMessageInterceptors, setOutgoingTextInterceptors, setPort, setUnparseableMessageHandlerpublic void closeConnection(HostPort hostPort)
AbstractStampyMessageGatewaycloseConnection in class AbstractStampyMessageGatewayhostPort - the host portpublic void connect()
throws java.lang.Exception
AbstractStampyMessageGatewayconnect in class AbstractStampyMessageGatewayjava.lang.Exception - the exceptionpublic void shutdown()
throws java.lang.Exception
AbstractStampyMessageGatewayshutdown in class AbstractStampyMessageGatewayjava.lang.Exception - the exception