The connection class encapsulates transport level implementation of a connection.
Namespace: org.opendof.core.transport
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public interface Connection
The Connection type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | close | Request that a connection be closed. |
![]() | getConnectionConfig | |
![]() | getConnectionType | Get the type of connection. |
![]() | getContext | Get the connections associated context. |
![]() | getPeerAddress | Return the peer address of the connection. |
![]() | getServer |
Return the server associated with a given connection, or null if the connection
is outbound.
|
![]() | getTransport | Get the connection's associated transport handler. |
![]() | isHandleAsync | Is the connection an async or blocking connection. |
![]() | isOpen | Is the connection open? |
![]() | isPointToPoint | Is the connection a point-to-point connection? |
![]() | isSecure | Is the connection inherently secure. |
![]() | send | Send data to the specified address. |
![]() | setContext | Set the context data for a connection. |
Remarks
See Also