8 #ifndef FACEBOOK_NETWORK_CONNECTIONLESS_SERVER_H
9 #define FACEBOOK_NETWORK_CONNECTIONLESS_SERVER_H
This class is the base class for all connectionless clients.
Definition: ConnectionlessClient.h:27
This class is the base class for all connectionless server.
Definition: ConnectionlessServer.h:30
~ConnectionlessServer() override
Destructs a connectionless server object.
ConnectionlessServer()
Creates a new connectionless server object.
void setReceiveCallback(const ReceiveCallback &callback)
Sets the receive data callback function.
Definition: ConnectionlessServer.h:74
ReceiveCallback receiveCallback_
Data callback function called on new message arrivals.
Definition: ConnectionlessServer.h:71
bool onScheduler() override
The scheduler event function.
Callback< void, const Address4 &, const Port &, const void *, const size_t > ReceiveCallback
Definition of a data callback function.
Definition: ConnectionlessServer.h:40
This class is the base class for all server.
Definition: Server.h:26
Lock lock_
Socket lock.
Definition: Socket.h:187
This class implements a scoped lock object for recursive lock objects.
Definition: Lock.h:135
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15