DOFConnection MethodsOpenDOF Object Access Library

The DOFConnection type exposes the following members.

Methods

  NameDescription
Public methodaddDomain
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.
Public methodaddPeerListener
Add a peer listener to this connection.
Public methodaddStateListener
Add a connection state-change handler to this connection.
Public methodaddTrustedDomain
Dynamically add in a configured TRP route without credentials.
Public methodbeginConnect(Int32)
Open a connection, waiting up to timeout for the connection to be established.
Public methodbeginConnect(Int32, DOFConnectionConnectOperationListener)
Open a connection, waiting up to timeout for the connection to be established.
Public methodbeginConnect(Int32, DOFConnectionConnectOperationListener, Object)
Open a connection, waiting up to timeout for the connection to be established.
Public methodbeginReconnect(Int32)
Re-open a connection, waiting up to timeout for the connection to be reestablished.
Public methodbeginReconnect(Int32, DOFConnectionConnectOperationListener)
Re-open a connection, waiting up to timeout for the connection to be reestablished.
Public methodbeginReconnect(Int32, DOFConnectionConnectOperationListener, Object)
Re-open a connection, waiting up to timeout for the connection to be reestablished.
Public methodconnect
Open a connection, waiting up to timeout for the connection to be established.
Public methodcreateConnection
Create a Type.POINT connection related to this connection. Anything else will fail. See Type.POINT for instructions to properly create a POINT connection.
Public methoddestroy
Destroy a connection, removing references to it.
Public methoddisconnect
Request that a connection be terminated.
Public methodEquals (Overrides ObjectEquals(Object).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodgetRelatedConnection
Return the connection that was created using DOFConnection.createConnection.
Public methodgetRelatedServer
Return the server that was created using DOFServer.createConnection.
Public methodgetState
Get the current instantaneous state of the connection.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodisConnected
Return whether or not the connection is currently connected.
Public methodreconnect
Reopen a connection, waiting up to timeout for the connection to be reestablished.
Public methodremoveDomain
Dynamically remove the connection from the TRP route associated with the credentials.
Public methodremovePeerListener
Remove a peer listener from this connection.
Public methodremoveStateListener
Remove a connection state-change handler from this connection.
Public methodremoveTrustedDomain
Remove the connection from the TRP router for the specified domain.
Public methodToString (Overrides ObjectToString.)
Top
See Also

Reference