org.jboss.jms.delegate
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: 2686 $ $Id: ConnectionEndpoint.java 2686 2007-05-15 08:47:20Z timfox $
Author:
Tim Fox

Method Summary
 SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA)
           
 java.lang.String getClientID()
           
 IDBlock getIdBlock(int size)
           
 MessagingXid[] getPreparedTransactions()
           
 void sendTransaction(TransactionRequest request, boolean checkForDuplicates)
           
 void setClientID(java.lang.String id)
           
 void start()
           
 void stop()
           
 
Methods inherited from interface org.jboss.jms.client.Closeable
close, closing
 

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,
                            boolean checkForDuplicates)
                     throws JMSException
Throws:
JMSException

getPreparedTransactions

public MessagingXid[] getPreparedTransactions()
                                       throws JMSException
Throws:
JMSException

getIdBlock

public IDBlock getIdBlock(int size)
                   throws JMSException
Throws:
JMSException


Copyright © 2006 JBoss Inc. All Rights Reserved.