@StampyLibrary(libraryName="stampy-NETTY-client-server-RI") public class ClientNettyMessageGateway extends AbstractStampyNettyMessageGateway
CHARSETinterceptors, textInterceptors| Constructor and Description |
|---|
ClientNettyMessageGateway() |
| 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.
|
java.lang.String |
getHost()
Gets the host.
|
void |
setHost(java.lang.String host)
Sets the host.
|
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 exceptionpublic java.lang.String getHost()
public void setHost(java.lang.String host)
host - the new host