org.projectodd.stilts.stomp.spi
Interface StompConnection
- All Known Implementing Classes:
- ConduitStompConnection
public interface StompConnection
getSessionId
String getSessionId()
getHeartbeat
Heartbeat getHeartbeat()
getVersion
StompFrame.Version getVersion()
send
void send(StompMessage message,
String transactionId)
throws StompException
- Throws:
StompException
subscribe
Subscription subscribe(String destination,
String subscriptionId,
Headers headers)
throws StompException
- Throws:
StompException
unsubscribe
void unsubscribe(String subscriptionId,
Headers headers)
throws StompException
- Throws:
StompException
begin
void begin(String transactionId,
Headers headers)
throws StompException
- Throws:
StompException
commit
void commit(String transactionId)
throws StompException
- Throws:
StompException
abort
void abort(String transactionId)
throws StompException
- Throws:
StompException
disconnect
void disconnect()
throws NotConnectedException
- Throws:
NotConnectedException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.