C# Class OpenMetaverse.CapsEventDictionary

Registers, unregisters, and fires events generated by the Capabilities event queue
Mostrar archivo Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Public Properties

Property Type Description
Client GridClient

Public Methods

Method Description
CapsEventDictionary ( GridClient client ) : System

Default constructor

RegisterEvent ( string capsEvent, Caps eventHandler ) : void

Register an event handler

Use String.Empty to fire this event on every CAPS event

UnregisterEvent ( string capsEvent, Caps eventHandler ) : void

Private Methods

Method Description
BeginRaiseEvent ( string capsEvent, StructuredData body, Simulator simulator ) : void

Fire the events registered for this event type asynchronously

RaiseEvent ( string capsEvent, StructuredData body, Simulator simulator ) : void

Fire the events registered for this event type synchronously

ThreadPoolDelegate ( Object state ) : void

Method Details

CapsEventDictionary() public method

Default constructor
public CapsEventDictionary ( GridClient client ) : System
client GridClient Reference to the GridClient object
return System

RegisterEvent() public method

Register an event handler
Use String.Empty to fire this event on every CAPS event
public RegisterEvent ( string capsEvent, Caps eventHandler ) : void
capsEvent string Capability event name to register the /// handler for
eventHandler Caps Callback to fire
return void

UnregisterEvent() public method

public UnregisterEvent ( string capsEvent, Caps eventHandler ) : void
capsEvent string Capability event name unregister the /// handler for
eventHandler Caps Callback to unregister
return void

Property Details

Client public_oe property

Reference to the GridClient object
public GridClient,OpenMetaverse Client
return GridClient