|
|||||||||||
| 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.
| Field Summary | |
protected int |
defaultTempQueueDownCacheSize
|
protected int |
defaultTempQueueFullSize
|
protected int |
defaultTempQueuePageSize
|
| Constructor Summary | |
protected |
ServerConnectionEndpoint(ServerPeer serverPeer,
java.lang.String clientID,
java.lang.String username,
java.lang.String password,
int prefetchSize,
int defaultTempQueueFullSize,
int defaultTempQueuePageSize,
int defaultTempQueueDownCacheSize)
|
| Method Summary | |
protected void |
addTemporaryDestination(Destination dest)
|
void |
close()
Close the instance |
void |
closing()
Tell the instance to prepare to close |
SessionDelegate |
createSessionDelegate(boolean transacted,
int acknowledgmentMode,
boolean isXA)
|
protected java.lang.String |
generateSessionID()
Generates a sessionID that is unique per this ConnectionDelegate instance |
protected Client |
getCallbackClient()
|
java.lang.String |
getClientID()
|
protected int |
getConnectionID()
|
protected ServerConsumerEndpoint |
getConsumerEndpoint(int consumerID)
|
int |
getDefaultTempQueueDownCacheSize()
|
int |
getDefaultTempQueueFullSize()
|
int |
getDefaultTempQueuePageSize()
|
protected java.lang.String |
getJmsClientVMId()
|
java.lang.String |
getPassword()
|
int |
getPrefetchSize()
|
javax.transaction.xa.Xid[] |
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 |
protected java.lang.String |
getRemotingClientSessionId()
|
SecurityManager |
getSecurityManager()
|
protected ServerPeer |
getServerPeer()
|
protected ServerSessionEndpoint |
getSessionDelegate(int sessionID)
|
java.lang.String |
getUsername()
|
byte |
getUsingVersion()
|
protected boolean |
hasTemporaryDestination(Destination dest)
|
boolean |
isClosed()
|
protected boolean |
isStarted()
|
protected ServerConsumerEndpoint |
putConsumerEndpoint(int consumerID,
ServerConsumerEndpoint c)
|
protected ServerSessionEndpoint |
putSessionDelegate(int sessionID,
ServerSessionEndpoint d)
|
protected ServerConsumerEndpoint |
removeConsumerEndpoint(java.lang.Integer consumerID)
|
protected ServerSessionEndpoint |
removeSessionDelegate(int sessionID)
|
protected void |
removeTemporaryDestination(Destination dest)
|
protected void |
sendMessage(JBossMessage jbm,
Transaction tx)
|
void |
sendTransaction(TransactionRequest request)
|
void |
setCallbackClient(Client client)
|
void |
setClientID(java.lang.String clientID)
|
void |
setRemotingInformation(java.lang.String jmsClientVMId,
java.lang.String remotingClientSessionId)
|
void |
setUsingVersion(byte version)
|
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 |
| Field Detail |
protected int defaultTempQueueFullSize
protected int defaultTempQueuePageSize
protected int defaultTempQueueDownCacheSize
| Constructor Detail |
protected ServerConnectionEndpoint(ServerPeer serverPeer,
java.lang.String clientID,
java.lang.String username,
java.lang.String password,
int prefetchSize,
int defaultTempQueueFullSize,
int defaultTempQueuePageSize,
int defaultTempQueueDownCacheSize)
| Method Detail |
public SessionDelegate createSessionDelegate(boolean transacted,
int acknowledgmentMode,
boolean isXA)
throws JMSException
createSessionDelegate in interface ConnectionEndpointJMSException
public java.lang.String getClientID()
throws JMSException
getClientID in interface ConnectionEndpointJMSException
public void setClientID(java.lang.String clientID)
throws JMSException
setClientID in interface ConnectionEndpointJMSException
public void start()
throws JMSException
start in interface ConnectionEndpointJMSException
public void stop()
throws JMSException
stop in interface ConnectionEndpointJMSException
public void close()
throws JMSException
Closeable
close in interface CloseableJMSException
public void closing()
throws JMSException
Closeable
closing in interface CloseableJMSExceptionpublic boolean isClosed()
isClosed in interface Closeable
public void sendTransaction(TransactionRequest request)
throws JMSException
sendTransaction in interface ConnectionEndpointJMSException
public javax.transaction.xa.Xid[] getPreparedTransactions()
throws JMSException
getPreparedTransactions in interface ConnectionEndpointJMSExceptionpublic java.lang.String getUsername()
public java.lang.String getPassword()
public SecurityManager getSecurityManager()
public void setCallbackClient(Client client)
public void setRemotingInformation(java.lang.String jmsClientVMId,
java.lang.String remotingClientSessionId)
public void setUsingVersion(byte version)
public byte getUsingVersion()
public int getPrefetchSize()
public int getDefaultTempQueueFullSize()
public int getDefaultTempQueuePageSize()
public int getDefaultTempQueueDownCacheSize()
public java.lang.String toString()
protected Client getCallbackClient()
protected int getConnectionID()
protected boolean isStarted()
protected java.lang.String generateSessionID()
protected ServerSessionEndpoint putSessionDelegate(int sessionID,
ServerSessionEndpoint d)
protected ServerSessionEndpoint getSessionDelegate(int sessionID)
protected ServerSessionEndpoint removeSessionDelegate(int sessionID)
protected ServerConsumerEndpoint putConsumerEndpoint(int consumerID,
ServerConsumerEndpoint c)
protected ServerConsumerEndpoint getConsumerEndpoint(int consumerID)
protected ServerConsumerEndpoint removeConsumerEndpoint(java.lang.Integer consumerID)
protected void addTemporaryDestination(Destination dest)
protected void removeTemporaryDestination(Destination dest)
protected boolean hasTemporaryDestination(Destination dest)
protected ServerPeer getServerPeer()
protected java.lang.String getRemotingClientSessionId()
protected java.lang.String getJmsClientVMId()
protected void sendMessage(JBossMessage jbm,
Transaction tx)
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||