DOFConnectionState InterfaceOpenDOF Object Access Library
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

  NameDescription
Public methodcreateConnection
Create a connection from this State.
Public methodgetAddress
Return the target address of the connection.
Public methodgetConnectionType
Return the type of the connection.
Public methodgetConnectTime
Returns the timestamp of when the connection was established.
Public methodgetCredentials
Return the credentials associated with a connection, or null if the connection is not secure.
Public methodgetDirection
Return the direction of this connection -- either inbound or outbound.
Public methodgetException
Return the exception associated with the connection.
Public methodgetMaxReceiveSilence
Return the maximum receive silence.
Public methodgetMaxSendSilence
Return the maximum send silence time.
Public methodgetName
Get this connection's name.
Public methodgetPeerCredentials
Return the credentials associated with a connection, or null if the connection is not secure.
Public methodgetPermissions
Return the permissions of the connection.
Public methodgetProtocolNegotiator
Return the protocol negotiator.
Public methodgetSecurityDesire
Return the security desire of the connection.
Public methodgetSecurityMode
Return the security mode associated with a connection, or null if the connection is not secure.
Public methodgetTrafficStats
Returns the traffic-related statistics for the respective connection.
Public methodgetTransportConfig
Return the transport configuration associated with the connection.
Public methodgetTrustedDomains
Get this config trusted domain identifiers.
Public methodisConnected
Return whether the connection is currently established.
Public methodisPermissionsExtendAllowed
Determine whether or not the connection is allowed to request additional permissions from the Authentication Server aside from the initial permission set.
Public methodisTunnelDomains
Determine whether or not the connection is allowed tunnel remote domains.
Top
Remarks

This class represents the instantaneous state of the connection at a given time. Since the actual state of the connection can change over time, it is useful to group the state at an instant (for example, before a listener) so that the values represent the state at that point in time.

The values returned by the State reflect the values at a time in the past.

See Also

Reference