|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jms.server.endpoint.ServerConnectionEndpoint
Concrete implementation of ConnectionEndpoint.
Constructor Summary | |
ServerConnectionEndpoint(ServerPeer serverPeer,
java.lang.String clientID,
java.lang.String username,
java.lang.String password,
int prefetchSize,
int defaultTempQueueFullSize,
int defaultTempQueuePageSize,
int defaultTempQueueDownCacheSize,
int failedNodeID,
ServerConnectionFactoryEndpoint cfendpoint,
java.lang.String remotingSessionID,
java.lang.String clientVMID,
byte versionToUse,
ServerInvokerCallbackHandler callbackHandler,
int dupsOKBatchSize)
|
Method Summary | |
void |
close()
Close the instance |
long |
closing()
Tell the instance to prepare to close |
SessionDelegate |
createSessionDelegate(boolean transacted,
int acknowledgmentMode,
boolean isXA)
|
ServerInvokerCallbackHandler |
getCallbackHandler()
|
java.lang.String |
getClientID()
|
ServerConnectionFactoryEndpoint |
getConnectionFactoryEndpoint()
|
IDBlock |
getIdBlock(int size)
|
java.lang.String |
getPassword()
|
MessagingXid[] |
getPreparedTransactions()
Get array of XA transactions in prepared state- This would be used by the transaction manager in recovery or by a tool to apply heuristic decisions to commit or rollback particular transactions |
SecurityManager |
getSecurityManager()
|
ServerPeer |
getServerPeer()
|
java.lang.String |
getUsername()
|
void |
sendTransaction(TransactionRequest request,
boolean checkForDuplicates)
|
void |
setClientID(java.lang.String clientID)
|
void |
start()
|
void |
stop()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ServerConnectionEndpoint(ServerPeer serverPeer, java.lang.String clientID, java.lang.String username, java.lang.String password, int prefetchSize, int defaultTempQueueFullSize, int defaultTempQueuePageSize, int defaultTempQueueDownCacheSize, int failedNodeID, ServerConnectionFactoryEndpoint cfendpoint, java.lang.String remotingSessionID, java.lang.String clientVMID, byte versionToUse, ServerInvokerCallbackHandler callbackHandler, int dupsOKBatchSize) throws java.lang.Exception
failedNodeID
- - zero or positive values mean connection creation attempt is result of
failover. Negative values are ignored (mean regular connection creation attempt).Method Detail |
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) throws JMSException
createSessionDelegate
in interface ConnectionEndpoint
JMSException
public java.lang.String getClientID() throws JMSException
getClientID
in interface ConnectionEndpoint
JMSException
public void setClientID(java.lang.String clientID) throws JMSException
setClientID
in interface ConnectionEndpoint
JMSException
public void start() throws JMSException
start
in interface ConnectionEndpoint
JMSException
public void stop() throws JMSException
stop
in interface ConnectionEndpoint
JMSException
public void close() throws JMSException
Closeable
close
in interface Closeable
JMSException
public long closing() throws JMSException
Closeable
closing
in interface Closeable
JMSException
public void sendTransaction(TransactionRequest request, boolean checkForDuplicates) throws JMSException
sendTransaction
in interface ConnectionEndpoint
JMSException
public MessagingXid[] getPreparedTransactions() throws JMSException
getPreparedTransactions
in interface ConnectionEndpoint
JMSException
public IDBlock getIdBlock(int size) throws JMSException
getIdBlock
in interface ConnectionEndpoint
JMSException
public java.lang.String getUsername()
public java.lang.String getPassword()
public SecurityManager getSecurityManager()
public ServerInvokerCallbackHandler getCallbackHandler()
public ServerPeer getServerPeer()
public ServerConnectionFactoryEndpoint getConnectionFactoryEndpoint()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |