The DTLServer interface function structure, containing a list of function pointers that implement the interface. More...
Data Fields | |
| void(* | Send )(DTLServer server, DOFAddress target, uint8 *data, uint32 offset, uint32 length) |
| Send a response to the specified address using a server. | |
| void(* | Stop )(DTLServer server) |
| Stop the server. | |
| uint32(* | GetConnectionCount )(DTLServer server) |
| Get the number of server connections. | |
| DOFAddress(* | GetAddress )(DTLServer server) |
| Get the listening address of the server. | |
| DTLServer(* | GetRelatedServer )(DTLServer server) |
| Get the related server associated with the server, if any. | |
| DTLTransportHandler(* | GetHandler )(DTLServer server) |
| Get the Transport Handler associated with the server. | |
| DOFServerType(* | GetServerType )(DTLServer server) |
| Get the type of server. | |
| void *(* | GetContext )(DTLServer server) |
| Get the context associated with the server. | |
| boolean(* | IsHandleAsync )(DTLServer server) |
| Report whether or not the server needs to be handled asynchronously. | |
| boolean(* | IsSecure )(DTLServer server) |
| Report whether or not the server is inherently secure. | |
| DTLConnectionConfig(* | GetConnectionConfig )(DTLServer server, DOFAddress address) |
| Report the connection configuration associated with a connection to the given address. | |
The DTLServer interface function structure, containing a list of function pointers that implement the interface.
It has the same role as a vtable in C++.