TransportHandlerreceived Method (Connection, Byte, DOFAddress, DOFAddressType)OpenDOF Object Access Library
Called by transport when a full packet has been received by a connection.

Namespace: org.opendof.core.transport
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
void received(
	Connection connection,
	byte[] packet,
	DOFAddress address,
	DOFAddressType type
)

Parameters

connection
Type: org.opendof.core.transportConnection
The connection that received the packet. This must not be null.
packet
Type: SystemByte
The received packet. This must not be null.
address
Type: org.opendof.core.oalDOFAddress
The address the packet came from. This must not be null.
type
Type: org.opendof.core.oalDOFAddressType
The type of address. This must not be null.
Exceptions

ExceptionCondition
Exception If the packet cannot be accepted. In this case a streaming connection should be closed.
Remarks

Called by transport when a full packet has been received by a connection. Ownership of the packet is transferred to the transport handler. If the specified connection is non blocking then this method will not block.
See Also

Reference