OpenDOF Project
Data Structures
DTLServer Struct Reference

The transport's Server interface structure, representing a transport-level server. More...

Data Structures

struct  DTLServerFns_t
 The DTLServer interface function structure, containing a list of function pointers that implement the interface. More...
 

Detailed Description

The transport's Server interface structure, representing a transport-level server.

The Transport-specific Server interface.

This interface encapsulates the transport-level implementation of a server, and is implemented by a transport that is intended to work with the C OAL. These servers can be streaming (e.g., TCP) or datagram (e.g., UDP). Datagram servers may further be able to receive data via multicast or broadcast.

Servers are expected to be immutable. Their properties are not expected to change. The context is opaque to the server.

This interface is called by a Transport Handler in the OAL.

This structure should be placed as the first element in a larger structure representing any necessary state of the Server. All of the functions take as their first argument a pointer to this structure (a DTLServer). Inside each function, it can thus be type-cast as a pointer to the larger structure to access the server's state. If no additional state is required, this structure may be used directly.

Defined as a pointer to the DTLServer_t structure. Refer to the structure for more information.

core-c-dof-oal Version 7.1.5 Build 0
2017-01-25