public class XASessionManager extends Object
| Modifier and Type | Field and Description |
|---|---|
ContextImpl |
_context |
| Constructor and Description |
|---|
XASessionManager(JCSMPBasicSession session,
ContextImpl context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addActiveTransaction(long corrId,
XASessionImpl ts) |
void |
addManagedTransactedSession(XASessionImpl ts)
Adds new sessions when first bound, and re-adds old sessions when
rebinding following reconnect.
|
void |
buildDispatchTransactionsList(List<XASessionImpl> to_close) |
void |
close() |
XASession |
createXASession() |
void |
dispatchChannelException(JCSMPException ex,
List<XASessionImpl> to_close) |
XASessionImpl |
getActiveTransaction(long corrId) |
JCSMPBasicSession |
getJCSMPSession() |
String |
getNetworkInfoString() |
TcpClientChannel |
getSubChannel() |
void |
handleAsyncAssuredCtrlMessage(WireMessage wmsg) |
void |
messageIdRenumbering(PubADManager adMgr) |
void |
notifyConnectEvent(InternalConnectEvent ev) |
void |
notifyVridChange() |
void |
removeActiveTransaction(long corrId) |
void |
removeManagedTransactedSession(XASessionImpl ts) |
void |
setSubChannel(TcpClientChannel channel) |
public ContextImpl _context
public XASessionManager(JCSMPBasicSession session, ContextImpl context)
public JCSMPBasicSession getJCSMPSession()
public String getNetworkInfoString()
public void notifyVridChange()
public void messageIdRenumbering(PubADManager adMgr)
public void setSubChannel(TcpClientChannel channel)
public TcpClientChannel getSubChannel()
public XASession createXASession() throws JCSMPException
JCSMPExceptionpublic void addManagedTransactedSession(XASessionImpl ts)
public void removeManagedTransactedSession(XASessionImpl ts)
public void addActiveTransaction(long corrId,
XASessionImpl ts)
public void removeActiveTransaction(long corrId)
public XASessionImpl getActiveTransaction(long corrId)
public void notifyConnectEvent(InternalConnectEvent ev) throws JCSMPException
JCSMPExceptionpublic void close()
public void buildDispatchTransactionsList(List<XASessionImpl> to_close)
public void dispatchChannelException(JCSMPException ex, List<XASessionImpl> to_close)
public void handleAsyncAssuredCtrlMessage(WireMessage wmsg)
Copyright 2004-2021 Solace Corporation. All rights reserved.