Simias::Storage::EventSubscriber Class Reference

Class to Subscibe to collection events. More...

Collaboration diagram for Simias::Storage::EventSubscriber:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 EventSubscriber (string collectionId)
 Creates a Subscriber to watch the specified Collection.
 EventSubscriber ()
 Create a Subscriber to monitor changes in the complete Collection Store.
override Object InitializeLifetimeService ()
 This object should not time out.
void Dispose ()
 Called to cleanup any resources.

Properties

bool Enabled [get, set]
 Gets and set the enabled state.
string FileNameFilter [get, set]
 Gets and Sets the NameFilter.
string FileTypeFilter [get, set]
 Gets and Sets the Type Filter.
string NodeIDFilter [get, set]
 Gets and Sets the Node ID filter for collection events.
string NodeTypeFilter [get, set]
 Gets and sets the Node type filter for collection events.
string CollectionId [get, set]
 Gets and Sets the collection to filter on.

Events

NodeEventHandler NodeCreated
 Delegate to handle Collection Creations. A Node or Collection has been created.
NodeEventHandler NodeDeleted
 Delegate to handle Collection Deletions. A Node or Collection has been deleted.
NodeEventHandler NodeChanged
 Delegate to handle Collection Changes. A Node or Collection modification.
NodeEventHandler NoAccess
 Delegate to handle No Access the client no longer has access to the node.


Detailed Description

Class to Subscibe to collection events.


Constructor & Destructor Documentation

Simias::Storage::EventSubscriber::EventSubscriber ( string  collectionId  )  [inline]

Creates a Subscriber to watch the specified Collection.

Parameters:
collectionId The collection to watch for events.

Simias::Storage::EventSubscriber::EventSubscriber (  )  [inline]

Create a Subscriber to monitor changes in the complete Collection Store.


Member Function Documentation

override Object Simias::Storage::EventSubscriber::InitializeLifetimeService (  )  [inline]

This object should not time out.

Returns:

void Simias::Storage::EventSubscriber::Dispose (  )  [inline]

Called to cleanup any resources.


Property Documentation

bool Simias::Storage::EventSubscriber::Enabled [get, set]

Gets and set the enabled state.

string Simias::Storage::EventSubscriber::FileNameFilter [get, set]

Gets and Sets the NameFilter.

string Simias::Storage::EventSubscriber::FileTypeFilter [get, set]

Gets and Sets the Type Filter.

string Simias::Storage::EventSubscriber::NodeIDFilter [get, set]

Gets and Sets the Node ID filter for collection events.

string Simias::Storage::EventSubscriber::NodeTypeFilter [get, set]

Gets and sets the Node type filter for collection events.

string Simias::Storage::EventSubscriber::CollectionId [get, set]

Gets and Sets the collection to filter on.


Event Documentation

NodeEventHandler Simias::Storage::EventSubscriber::NodeCreated

Delegate to handle Collection Creations. A Node or Collection has been created.

NodeEventHandler Simias::Storage::EventSubscriber::NodeDeleted

Delegate to handle Collection Deletions. A Node or Collection has been deleted.

NodeEventHandler Simias::Storage::EventSubscriber::NodeChanged

Delegate to handle Collection Changes. A Node or Collection modification.

NodeEventHandler Simias::Storage::EventSubscriber::NoAccess

Delegate to handle No Access the client no longer has access to the node.


The documentation for this class was generated from the following file:

Generated on Wed Apr 8 14:53:42 2009 for simias by  doxygen 1.5.6