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

  NameDescription
Public methodclosed
Called by transport when an inbound or outbound connection was closed or failed to open.
Public methodgetMaxInitialReceiveSize
Get maximum initial receive size that is the maximum number of bytes that must be received before the packet length can be determined.
Public methodgetReceiveSize
Determine the length of the packet to in a buffer.
Public methodopened
Called by transport when a inbound or outbound connection was successfully established.
Public methodreceived(Connection, Byte, DOFAddress, DOFAddressType)
Called by transport when a full packet has been received by a connection.
Public methodreceived(Server, Byte, DOFAddress, DOFAddressType)
Called by transport when a full packet has been received by a server.
Public methodstarted
Called by transport when a server is started.
Public methodstopped
Called by transport when a server is stopped or failed to open.
Top
Remarks

This interface represents the public API of the transport manager. The transport manager is used by the transport.
See Also

Reference