karoo::datagram_message_factory Class Reference
This factory is used by the
datagram_server to create a datagram message suitable for receiving an incoming message.
More...
#include <datagram.h>
List of all members.
|
Public Member Functions |
|
virtual datagram_message * | create_datagram_message (size_t alloc_size)=0 |
Detailed Description
This factory is used by the
datagram_server to create a datagram message suitable for receiving an incoming message.
- See also:
- rock_datagram_factory Note that your clas sthat inherits from datagram_message class must contain the logic for handling the messages that come in. The datagram_message::run() method must handle the datagram. E.g. rock_datagram_message::run() calls rock::handle(this), thus delegating handling of a datagram message back to its parent.
The documentation for this class was generated from the following file: