Public Member Functions | Public Attributes | Protected Member Functions

VIAgents.InstitutionManager Class Reference

This Class Connects to Second Life as a Proxy and processess all the requests from agents and other clients. It can capture all the packets, inject new packates or block packets. For doing so it uses the GridProxy supplied with OpenMetaverse library. More...

List of all members.

Public Member Functions

 InstitutionManager ()
 InstitutionManager (string[] args)
void Start ()
 Call this method to launch the proxy server.

Public Attributes

const string kUserAgent = "Virtual Institution Manager"
const string kAuthor = "Anton"
const Direction kInDirection = Direction.Incoming
const Direction kOutDirection = Direction.Outgoing

Protected Member Functions

virtual void Setup ()
Packet PacketHandler (Packet inPacket, IPEndPoint inEndPoint)
 The callback to handle all the packets received by the proxy.
Packet TouchHandler (Packet inPacket, IPEndPoint inEndPoint)
 The callback to handle all touch packets received by the proxy.
Packet InjectorHandler (Packet inPacket, IPEndPoint inEndPoint)
 The callback to handle all touch packets received by the proxy.

Detailed Description

This Class Connects to Second Life as a Proxy and processess all the requests from agents and other clients. It can capture all the packets, inject new packates or block packets. For doing so it uses the GridProxy supplied with OpenMetaverse library.


Constructor & Destructor Documentation

VIAgents.InstitutionManager.InstitutionManager (  ) 
VIAgents.InstitutionManager.InstitutionManager ( string[]  args  ) 

Member Function Documentation

Packet VIAgents.InstitutionManager.InjectorHandler ( Packet  inPacket,
IPEndPoint  inEndPoint 
) [protected]

The callback to handle all touch packets received by the proxy.

Packet VIAgents.InstitutionManager.PacketHandler ( Packet  inPacket,
IPEndPoint  inEndPoint 
) [protected]

The callback to handle all the packets received by the proxy.

virtual void VIAgents.InstitutionManager.Setup (  )  [protected, virtual]

Make all the setup work here i.e. which packets to handle

void VIAgents.InstitutionManager.Start (  ) 

Call this method to launch the proxy server.

Packet VIAgents.InstitutionManager.TouchHandler ( Packet  inPacket,
IPEndPoint  inEndPoint 
) [protected]

The callback to handle all touch packets received by the proxy.


Member Data Documentation

const string VIAgents.InstitutionManager.kAuthor = "Anton"
const Direction VIAgents.InstitutionManager.kInDirection = Direction.Incoming
const Direction VIAgents.InstitutionManager.kOutDirection = Direction.Outgoing
const string VIAgents.InstitutionManager.kUserAgent = "Virtual Institution Manager"

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