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>

Inheritance diagram for karoo::datagram_message_factory:

karoo::rock_datagram_factory

List of all members.

Public Member Functions

virtual datagram_messagecreate_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:

Generated on Tue Feb 16 15:04:30 2010 for Karoo by  doxygen 1.5.8