public abstract class ConnectionInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
comManId |
protected java.lang.Long |
connectionId |
protected boolean |
connectionOriented |
protected boolean |
direction |
static boolean |
DIRECTION_IN |
static boolean |
DIRECTION_OUT |
protected CredentialInfo |
localCredentialInfo |
protected CredentialInfo |
remoteCredentialInfo |
protected XAddressInfo |
remoteXAddrInfo |
| Modifier | Constructor and Description |
|---|---|
protected |
ConnectionInfo(boolean direction,
XAddressInfo remoteXAddrInfo,
boolean conOrient,
java.lang.Long connectionId,
CredentialInfo localCredentialInfo,
CredentialInfo remoteCredentialInfo,
java.lang.String comManId) |
public static final boolean DIRECTION_IN
public static final boolean DIRECTION_OUT
protected final boolean connectionOriented
protected final java.lang.Long connectionId
protected boolean direction
protected XAddressInfo remoteXAddrInfo
protected java.lang.String comManId
protected CredentialInfo remoteCredentialInfo
protected CredentialInfo localCredentialInfo
protected ConnectionInfo(boolean direction,
XAddressInfo remoteXAddrInfo,
boolean conOrient,
java.lang.Long connectionId,
CredentialInfo localCredentialInfo,
CredentialInfo remoteCredentialInfo,
java.lang.String comManId)
public boolean isIncoming()
public abstract ConnectionInfo createSwappedConnectionInfo()
public java.lang.String getCommunicationManagerId()
public void setCommunicationManagerId(java.lang.String comManId)
public abstract URI chooseNotifyToAddress(CommunicationBinding[] communicationBindings, CommunicationAutoBinding[] communicationAutoBindings, CommunicationStructureListener communicationStructureListener)
public abstract boolean sourceMatches(CommunicationBinding binding)
binding - a CommunicationBinding with the address to check.true only if this connectionInfo has a source address matching the specified
info URI.public abstract boolean destinationMatches(CommunicationBinding binding)
binding - a CommunicationBinding with the address to check.true only if this connectionInfo has a destination address matching the
specified info URI.public abstract boolean sourceMatches(XAddressInfo info)
info - an XAddressInfo with the address to check.true only if this connectionInfo has a source address matching the specified
info URI.public abstract boolean destinationMatches(XAddressInfo info)
info - an XAddressInfo with the address to check.true only if this connectionInfo has a destination address matching the
specified info URI.public abstract java.lang.String getSourceAddress()
public abstract java.lang.String getDestinationAddress()
public ProtocolInfo getProtocolInfo()
public void setProtocolInfo(ProtocolInfo protocolInfo)
public XAddressInfo getRemoteXAddress()
public void setRemoteXAddress(XAddressInfo remoteXAddressInfo)
public abstract URI getTransportAddress()
public java.lang.Long getConnectionId()
public boolean isConnectionOriented()
public java.lang.Object getComManInfo()
public void setComManInfo(java.lang.Object comManInfo)
public CredentialInfo getRemoteCredentialInfo()
public void setRemoteCredentialInfo(CredentialInfo remoteCredentialInfo)
public CredentialInfo getLocalCredentialInfo()
public void setLocalCredentialInfo(CredentialInfo localCredentialInfo)