class ServiceFilteredChangeObserver

Selective Change Observer. More...

Definition#include <service.hh>
InheritsServiceChangeObserverBase [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Protected Members


Detailed Description

Forwards limited subset of status changes to a status change observer.

 ServiceFilteredChangeObserver (ServiceChangeObserverBase* child, ServiceStatus from_mask, ServiceStatus to_mask)

ServiceFilteredChangeObserver

Constructor.

Only changes from the states represented in from_mask to the states represented in to_mask are reported.

Parameters:
childrecipient of status changes.
from_maskmask of states left to trigger changes.
to_maskmask of states entered to trigger changes.

void  status_change (ServiceBase* service, ServiceStatus old_status, ServiceStatus new_status)

status_change

[protected]

Reimplemented from ServiceChangeObserverBase.

ServiceChangeObserverBase* _child

_child

[protected]

ServiceStatus _from_mask

_from_mask

[protected]

ServiceStatus _to_mask

_to_mask

[protected]


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:46:46 2003, using kdoc 2.0a54+XORP.