org.jboss.jms.server.endpoint
Interface ConnectionEndpoint

All Superinterfaces:
Closeable
All Known Subinterfaces:
ConnectionDelegate
All Known Implementing Classes:
ClientConnectionDelegate, ConnectionAdvised, ServerConnectionEndpoint

public interface ConnectionEndpoint
extends Closeable

Represents the set of methods from the ConnectionDelegate that are handled on the server. The rest of the methods are handled in the advice stack.

Version:
$Revision: 1026 $ $Id: ConnectionEndpoint.java 1026 2006-07-27 19:01:57Z timfox $
Author:
Tim Fox

Method Summary
 SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA)
           
 java.lang.String getClientID()
           
 javax.transaction.xa.Xid[] getPreparedTransactions()
           
 void sendTransaction(TransactionRequest request)
           
 void setClientID(java.lang.String id)
           
 void start()
           
 void stop()
           
 
Methods inherited from interface org.jboss.jms.client.Closeable
close, closing, isClosed
 

Method Detail

createSessionDelegate

public SessionDelegate createSessionDelegate(boolean transacted,
                                             int acknowledgmentMode,
                                             boolean isXA)
                                      throws JMSException
Throws:
JMSException

getClientID

public java.lang.String getClientID()
                             throws JMSException
Throws:
JMSException

setClientID

public void setClientID(java.lang.String id)
                 throws JMSException
Throws:
JMSException

start

public void start()
           throws JMSException
Throws:
JMSException

stop

public void stop()
          throws JMSException
Throws:
JMSException

sendTransaction

public void sendTransaction(TransactionRequest request)
                     throws JMSException
Throws:
JMSException

getPreparedTransactions

public javax.transaction.xa.Xid[] getPreparedTransactions()
                                                   throws JMSException
Throws:
JMSException


Copyright © 2006 JBoss Inc. All Rights Reserved.