The DTLTransportHandler interface function structure, containing a list of function pointers that implement the interface. More...
Data Fields | |
| boolean(* | Opened )(DTLTransportHandler handler, DTLConnection connection) |
| Report a connection that is now opened. | |
| void(* | Closed )(DTLTransportHandler handler, DTLConnection connection, DOFException except) |
| Report a connection that is now closed. | |
| boolean(* | Started )(DTLTransportHandler handler, DTLServer server) |
| Report a Server that is now started. | |
| void(* | Stopped )(DTLTransportHandler handler, DTLServer server, DOFException except) |
| Report a Server that is now stopped. | |
| boolean(* | Received_Connection )(DTLTransportHandler handler, DTLConnection connection, uint32 size, uint8 *packet, DOFAddress address, DOFAddressType type) |
| Report a new packet received on a Connection. | |
| boolean(* | Received_Server )(DTLTransportHandler handler, DTLServer server, uint32 size, uint8 *packet, DOFAddress address, DOFAddressType type) |
| Report a new packet received by a server. | |
| int32(* | GetReceiveSize )(DTLTransportHandler handler, const uint8 *buffer, uint32 offset, uint32 length) |
| Determine the total packet length based on received data in a buffer. | |
| uint32(* | GetMaxInitialReceiveSize )(DTLTransportHandler handler) |
| Get maximum initial receive size. | |
The DTLTransportHandler interface function structure, containing a list of function pointers that implement the interface.
It has the same role as a vtable in C++.