OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager Class Reference

Public Member Functions

 ListenerManager (int maxlisteners, int maxhandles)
 
int AddListener (uint localID, UUID itemID, UUID hostID, int channel, string name, UUID id, string msg)
 
int AddListener (uint localID, UUID itemID, UUID hostID, int channel, string name, UUID id, string msg, int regexBitfield)
 
void Remove (UUID itemID, int handle)
 
void DeleteListener (UUID itemID)
 
void Activate (UUID itemID, int handle)
 
void Dectivate (UUID itemID, int handle)
 
List< ListenerInfoGetListeners (UUID itemID, int channel, string name, UUID id, string msg)
 Get listeners matching the input parameters. More...
 
Object[] GetSerializationData (UUID itemID)
 
void AddFromData (uint localID, UUID itemID, UUID hostID, Object[] data)
 

Public Attributes

const int OS_LISTEN_REGEX_NAME = 0x1
 process name parameter as regex More...
 
const int OS_LISTEN_REGEX_MESSAGE = 0x2
 process message parameter as regex More...
 

Properties

int ListenerCount [get]
 Total number of listeners More...
 

Detailed Description

Definition at line 513 of file WorldCommModule.cs.

Constructor & Destructor Documentation

OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.ListenerManager ( int  maxlisteners,
int  maxhandles 
)
inline

Definition at line 533 of file WorldCommModule.cs.

Member Function Documentation

void OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.Activate ( UUID  itemID,
int  handle 
)
inline

Definition at line 655 of file WorldCommModule.cs.

Here is the call graph for this function:

void OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.AddFromData ( uint  localID,
UUID  itemID,
UUID  hostID,
Object[]  data 
)
inline

Definition at line 824 of file WorldCommModule.cs.

int OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.AddListener ( uint  localID,
UUID  itemID,
UUID  hostID,
int  channel,
string  name,
UUID  id,
string  msg 
)
inline

Definition at line 540 of file WorldCommModule.cs.

int OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.AddListener ( uint  localID,
UUID  itemID,
UUID  hostID,
int  channel,
string  name,
UUID  id,
string  msg,
int  regexBitfield 
)
inline

Definition at line 547 of file WorldCommModule.cs.

void OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.Dectivate ( UUID  itemID,
int  handle 
)
inline

Definition at line 676 of file WorldCommModule.cs.

Here is the call graph for this function:

void OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.DeleteListener ( UUID  itemID)
inline

Definition at line 617 of file WorldCommModule.cs.

Here is the call graph for this function:

List<ListenerInfo> OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.GetListeners ( UUID  itemID,
int  channel,
string  name,
UUID  id,
string  msg 
)
inline

Get listeners matching the input parameters.

Theres probably a more clever and efficient way to do this, maybe with regex. PM2008: Ha, one could even be smart and define a specialized Enumerator.

Parameters
itemID
channel
name
id
msg
Returns

Definition at line 758 of file WorldCommModule.cs.

Here is the call graph for this function:

Object [] OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.GetSerializationData ( UUID  itemID)
inline

Definition at line 806 of file WorldCommModule.cs.

Here is the call graph for this function:

void OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.Remove ( UUID  itemID,
int  handle 
)
inline

Definition at line 591 of file WorldCommModule.cs.

Here is the call graph for this function:

Member Data Documentation

const int OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.OS_LISTEN_REGEX_MESSAGE = 0x2

process message parameter as regex

Definition at line 739 of file WorldCommModule.cs.

const int OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.OS_LISTEN_REGEX_NAME = 0x1

process name parameter as regex

These are duplicated from ScriptBaseClass http://opensimulator.org/mantis/view.php?id=6106#c21945

Definition at line 734 of file WorldCommModule.cs.

Property Documentation

int OpenSim.Region.CoreModules.Scripting.WorldComm.ListenerManager.ListenerCount
get

Total number of listeners

Definition at line 525 of file WorldCommModule.cs.


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