This interface represents the public API of the transport manager.
Namespace: org.opendof.core.transport
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public interface TransportHandler
The TransportHandler type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| closed | Called by transport when an inbound or outbound connection was closed or failed to open.
| |
| getMaxInitialReceiveSize |
Get maximum initial receive size that is the maximum number of bytes that must be
received before the packet length can be determined.
| |
| getReceiveSize | Determine the length of the packet to in a buffer. | |
| opened | Called by transport when a inbound or outbound connection was successfully established.
| |
| received(Connection, Byte, DOFAddress, DOFAddressType) | Called by transport when a full packet has been received by a connection.
| |
| received(Server, Byte, DOFAddress, DOFAddressType) | Called by transport when a full packet has been received by a server. | |
| started | Called by transport when a server is started. | |
| stopped | Called by transport when a server is stopped or failed to open. |
Remarks
See Also