public interface StompConnection
| Modifier and Type | Method and Description |
|---|---|
void |
abort(String transactionId) |
void |
begin(String transactionId,
Headers headers) |
void |
commit(String transactionId) |
void |
disconnect() |
Heartbeat |
getHeartbeat() |
StompSession |
getSession() |
StompFrame.Version |
getVersion() |
void |
send(StompMessage message,
String transactionId) |
Subscription |
subscribe(String destination,
String subscriptionId,
Headers headers) |
void |
unsubscribe(String subscriptionId,
Headers headers) |
StompSession getSession()
Heartbeat getHeartbeat()
StompFrame.Version getVersion()
void send(StompMessage message, String transactionId) throws StompException
StompExceptionSubscription subscribe(String destination, String subscriptionId, Headers headers) throws StompException
StompExceptionvoid unsubscribe(String subscriptionId, Headers headers) throws StompException
StompExceptionvoid begin(String transactionId, Headers headers) throws StompException
StompExceptionvoid commit(String transactionId) throws StompException
StompExceptionvoid abort(String transactionId) throws StompException
StompExceptionvoid disconnect()
throws NotConnectedException
NotConnectedExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.