DOFConnection represents an ability to communicate with other nodes in a DOF
network.
Inheritance Hierarchy
org.opendof.core.oalDOFConnection
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public sealed class DOFConnection
The DOFConnection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| addDomain |
Dynamically add the credentials, which are used on a connection that supports authentication, to verify that the host
being connected to is authorized to process authentication requests in the domain that is specified
in the credentials.
| |
| addPeerListener | Add a peer listener to this connection. | |
| addStateListener | Add a connection state-change handler to this connection. | |
| addTrustedDomain | Dynamically add in a configured TRP route without credentials. | |
| beginConnect(Int32) | Open a connection, waiting up to timeout for the connection to be established.
| |
| beginConnect(Int32, DOFConnectionConnectOperationListener) | Open a connection, waiting up to timeout for the connection to be established.
| |
| beginConnect(Int32, DOFConnectionConnectOperationListener, Object) | Open a connection, waiting up to timeout for the connection to be established.
| |
| beginReconnect(Int32) | Re-open a connection, waiting up to timeout for the connection to be reestablished.
| |
| beginReconnect(Int32, DOFConnectionConnectOperationListener) | Re-open a connection, waiting up to timeout for the connection to be reestablished.
| |
| beginReconnect(Int32, DOFConnectionConnectOperationListener, Object) | Re-open a connection, waiting up to timeout for the connection to be reestablished.
| |
| connect | Open a connection, waiting up to timeout for the connection to be established.
| |
| createConnection |
Create a
Type.POINT
connection related to this connection. Anything else will fail.
See
Type.POINT
for instructions to properly create a POINT connection.
| |
| destroy | Destroy a connection, removing references to it. | |
| disconnect | Request that a connection be terminated. | |
| Equals | (Overrides ObjectEquals(Object).) | |
| GetHashCode | (Overrides ObjectGetHashCode.) | |
| getRelatedConnection | Return the connection that was created using DOFConnection.createConnection.
| |
| getRelatedServer | Return the server that was created using DOFServer.createConnection. | |
| getState | Get the current instantaneous state of the connection. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| isConnected | Return whether or not the connection is currently connected. | |
| reconnect | Reopen a connection, waiting up to timeout for the connection to be reestablished.
| |
| removeDomain | Dynamically remove the connection from the TRP route associated with the credentials.
| |
| removePeerListener | Remove a peer listener from this connection. | |
| removeStateListener | Remove a connection state-change handler from this connection. | |
| removeTrustedDomain | Remove the connection from the TRP router for the specified domain. | |
| ToString | (Overrides ObjectToString.) |
Remarks
- Unsecure multicast group (see Type.DATAGRAM ).
- Secure multicast group (see Type.GROUP ).
- Secure unicast group (see Type.HUB and Type.POINT ).
See Also