Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

VOS::MessageFilter Class Reference

A message filter can be attached to any site to filter the messages passing through that site. More...

#include <vos/corelibs/vos/site.hh>

Inheritance diagram for VOS::MessageFilter:

VOS::EnqueueOutgoing VOS::OutgoingLock VOS::RewriteTo List of all members.

Public Member Functions


Detailed Description

A message filter can be attached to any site to filter the messages passing through that site.

If you attach the filter to a remote site, you will filter outbound messages going to that remote site. If you attach a filter to a local site, you will filter inbound messages being sent to the local site.

Definition at line 58 of file site.hh.


Constructor & Destructor Documentation

virtual VOS::MessageFilter::~MessageFilter  )  [virtual]
 


Member Function Documentation

virtual bool VOS::MessageFilter::checkMessage MessageBlock m  )  [virtual]
 

Reimplemented in VOS::EnqueueOutgoing.

virtual bool VOS::MessageFilter::checkMessage Message m  )  [pure virtual]
 

Do something with this message.

You are permitted to modify the message.

Parameters:
m the message
Returns:
true to continue processing the message, false indicating the message should NOT be sent or delivered.

Implemented in VOS::OutgoingLock, VOS::EnqueueOutgoing, and VOS::RewriteTo.


The documentation for this class was generated from the following file:
Generated on Tue Aug 12 03:56:05 2003 for Interreality Project - VOS by doxygen 1.3.2