The DTLConnection interface function structure, containing a list of function pointers that implement the interface. More...
Data Fields | |
| void(* | Send )(DTLConnection connection, DOFAddress target, uint8 *data, uint32 offset, uint32 length) |
| Send data to the specified address. | |
| void(* | Close )(DTLConnection connection) |
| Close the connection. | |
| DOFAddress(* | GetAddress )(DTLConnection connection) |
| Get the peer Address of the connection. | |
| DTLServer(* | GetServer )(DTLConnection connection) |
| Get the server associated with the connection, if any. | |
| DTLTransportHandler(* | GetHandler )(DTLConnection connection) |
| Get the Transport Handler associated with the connection. | |
| DOFConnectionType(* | GetConnectionType )(DTLConnection connection) |
| Get the type of connection. | |
| void *(* | GetContext )(DTLConnection connection) |
| Get the context associated with the connection. | |
| void(* | SetContext )(DTLConnection connection, void *context) |
| Set the context associated with the connection. | |
| boolean(* | IsHandleAsync )(DTLConnection connection) |
| Report whether or not the connection needs to be handled asynchronously. | |
| boolean(* | IsSecure )(DTLConnection connection) |
| Report whether or not the connection is inherently secure. | |
| boolean(* | IsPointToPoint )(DTLConnection connection) |
| Report whether or not the connection is point-to-point. | |
| DTLConnectionConfig(* | GetConnectionConfig )(DTLConnection connection) |
| Report the connection configuration associated with the connection. | |
The DTLConnection interface function structure, containing a list of function pointers that implement the interface.
It has the same role as a vtable in C++.