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

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

C#
void received(
	Server server,
	byte[] packet,
	DOFAddress address,
	DOFAddressType type
)

Parameters

server
Type: org.opendof.core.transportServer
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 server. 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