class MessageRelay

A message handler relay. More...

Full nameTelEngine::MessageRelay
Definition#include <telengine.h>
InheritsTelEngine::MessageHandler [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

A message handler that allows to relay several messages to a single receiver

 MessageRelay (const char *name, MessageReceiver *receiver, int id, int priority = 100)

MessageRelay

Creates a new message relay.

Parameters:
nameName of the handled message - may be NULL
receiverReceiver of th relayed messages
idNumeric identifier to pass to receiver
priorityPriority of the handler, 0 = top

bool  received (Message &msg)

received

[virtual]

This method is called whenever the registered name matches the message.

Parameters:
msgThe received message

Returns: True to stop processing, false to try other handlers

Reimplemented from MessageHandler.


Generated by: kk on nyx on Sat Jun 4 19:29:41 2005, using kdoc 2.0a54.