This class represents the instantaneous state of the connection at a given time.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public interface State : DOFImmutable
The DOFConnectionState type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| createConnection | Create a connection from this State. | |
| getAddress | Return the target address of the connection. | |
| getConnectionType | Return the type of the connection. | |
| getConnectTime | Returns the timestamp of when the connection was established. | |
| getCredentials |
Return the credentials associated with a connection, or null if the connection
is not secure.
| |
| getDirection | Return the direction of this connection -- either inbound or outbound. | |
| getException | Return the exception associated with the connection. | |
| getMaxReceiveSilence | Return the maximum receive silence. | |
| getMaxSendSilence | Return the maximum send silence time. | |
| getName | Get this connection's name. | |
| getPeerCredentials |
Return the credentials associated with a connection, or null if the connection
is not secure.
| |
| getPermissions | Return the permissions of the connection. | |
| getProtocolNegotiator | Return the protocol negotiator. | |
| getSecurityDesire | Return the security desire of the connection. | |
| getSecurityMode |
Return the security mode associated with a connection, or null if the connection
is not secure.
| |
| getTrafficStats | Returns the traffic-related statistics for the respective connection. | |
| getTransportConfig | Return the transport configuration associated with the connection. | |
| getTrustedDomains | Get this config trusted domain identifiers. | |
| isConnected | Return whether the connection is currently established. | |
| isPermissionsExtendAllowed |
Determine whether or not the connection is allowed to request additional permissions
from the Authentication Server aside from the initial permission set.
| |
| isTunnelDomains | Determine whether or not the connection is allowed tunnel remote domains.
|
Remarks
See Also