Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomp.spi
Interface StompConnection

All Known Implementing Classes:
ConduitStompConnection

public interface StompConnection


Method Summary
 void abort(String transactionId)
           
 void begin(String transactionId, Headers headers)
           
 void commit(String transactionId)
           
 void disconnect()
           
 Heartbeat getHeartbeat()
           
 String getSessionId()
           
 StompFrame.Version getVersion()
           
 void send(StompMessage message, String transactionId)
           
 Subscription subscribe(String destination, String subscriptionId, Headers headers)
           
 void unsubscribe(String subscriptionId, Headers headers)
           
 

Method Detail

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

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.