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
Exception | Condition |
---|---|
Exception | If the packet cannot be accepted. In this case a streaming connection should be closed. |
Remarks
See Also