OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | List of all members
OpenSim.Services.Connectors.Simulation.SimulationServiceConnector Class Reference
Inheritance diagram for OpenSim.Services.Connectors.Simulation.SimulationServiceConnector:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Services.Connectors.Simulation.SimulationServiceConnector:
Collaboration graph
[legend]

Public Member Functions

 SimulationServiceConnector ()
 
 SimulationServiceConnector (IConfigSource config)
 
IScene GetScene (UUID regionId)
 Retrieve the scene with the given region ID. More...
 
ISimulationService GetInnerService ()
 
bool CreateAgent (GridRegion source, GridRegion destination, AgentCircuitData aCircuit, uint flags, EntityTransferContext ctx, out string reason)
 Ask the simulator hosting the destination to create an agent on that region. More...
 
bool CreateAgent (GridRegion source, GridRegion destination, AgentCircuitData aCircuit, uint flags, EntityTransferContext ctx, out string myipaddress, out string reason)
 
bool UpdateAgent (GridRegion destination, AgentData data, EntityTransferContext ctx)
 Send complete data about an agent in this region to a neighbor More...
 
bool UpdateAgent (GridRegion destination, AgentPosition data)
 Send updated position information about an agent in this region to a neighbor This operation may be called very frequently if an avatar is moving about in the region. More...
 
bool QueryAccess (GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, List< UUID > featuresAvailable, EntityTransferContext ctx, out string reason)
 Returns whether a propspective user is allowed to visit the region. More...
 
bool ReleaseAgent (UUID origin, UUID id, string uri)
 
bool CloseAgent (GridRegion destination, UUID id, string auth_code)
 
bool CreateObject (GridRegion destination, Vector3 newPosition, ISceneObject sog, bool isLocalCall)
 
bool CreateObject (GridRegion destination, UUID userID, UUID itemID)
 

Protected Member Functions

virtual string AgentPath ()
 
virtual void PackData (OSDMap args, GridRegion source, AgentCircuitData aCircuit, GridRegion destination, uint flags)
 
virtual string ObjectPath ()
 

Detailed Description

Definition at line 47 of file SimulationServiceConnector.cs.

Constructor & Destructor Documentation

OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.SimulationServiceConnector ( )
inline

Definition at line 56 of file SimulationServiceConnector.cs.

OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.SimulationServiceConnector ( IConfigSource  config)
inline

Definition at line 60 of file SimulationServiceConnector.cs.

Member Function Documentation

virtual string OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.AgentPath ( )
inlineprotectedvirtual
bool OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.CloseAgent ( GridRegion  destination,
UUID  id,
string  auth_code 
)
inline
bool OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.CreateAgent ( GridRegion  source,
GridRegion  destination,
AgentCircuitData  aCircuit,
uint  flags,
EntityTransferContext  ctx,
out string  reason 
)
inline

Ask the simulator hosting the destination to create an agent on that region.

Parameters
sourceThe region that the user is coming from. Will be null if the user logged-in directly, or arrived from a simulator that doesn't send this parameter.
destination
aCircuit
flags
reasonReason message in the event of a failure.

Implements OpenSim.Services.Interfaces.ISimulationService.

Definition at line 101 of file SimulationServiceConnector.cs.

bool OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.CreateAgent ( GridRegion  source,
GridRegion  destination,
AgentCircuitData  aCircuit,
uint  flags,
EntityTransferContext  ctx,
out string  myipaddress,
out string  reason 
)
inline

Definition at line 107 of file SimulationServiceConnector.cs.

bool OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.CreateObject ( GridRegion  destination,
Vector3  newPosition,
ISceneObject  sog,
bool  isLocalCall 
)
inline
bool OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.CreateObject ( GridRegion  destination,
UUID  userID,
UUID  itemID 
)
inline

Definition at line 508 of file SimulationServiceConnector.cs.

ISimulationService OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.GetInnerService ( )
inline
IScene OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.GetScene ( UUID  regionId)
inline

Retrieve the scene with the given region ID.

Parameters
regionIdRegion identifier.
Returns
The scene.

Implements OpenSim.Services.Interfaces.ISimulationService.

Definition at line 65 of file SimulationServiceConnector.cs.

virtual string OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.ObjectPath ( )
inlineprotectedvirtual
virtual void OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.PackData ( OSDMap  args,
GridRegion  source,
AgentCircuitData  aCircuit,
GridRegion  destination,
uint  flags 
)
inlineprotectedvirtual
bool OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.QueryAccess ( GridRegion  destination,
UUID  agentID,
string  agentHomeURI,
bool  viaTeleport,
Vector3  position,
List< UUID >  features,
EntityTransferContext  ctx,
out string  reason 
)
inline

Returns whether a propspective user is allowed to visit the region.

Parameters
destinationDesired destination
agentIDThe visitor's User ID
agentHomeURIThe visitor's Home URI. Will be missing (null) in older OpenSims.
viaTeleportTrue: via teleport; False: via cross (walking)
positionPosition in the region
sversionVersion that the requesting simulator is runing. If null then no version check is carried out.
versionVersion that the target simulator is running
reason[out] Optional error message
Returns
True: ok; False: not allowed

Implements OpenSim.Services.Interfaces.ISimulationService.

Definition at line 289 of file SimulationServiceConnector.cs.

bool OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.ReleaseAgent ( UUID  origin,
UUID  id,
string  uri 
)
inline
bool OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.UpdateAgent ( GridRegion  destination,
AgentData  data,
EntityTransferContext  ctx 
)
inline

Send complete data about an agent in this region to a neighbor

Implements OpenSim.Services.Interfaces.ISimulationService.

Definition at line 176 of file SimulationServiceConnector.cs.

Here is the call graph for this function:

bool OpenSim.Services.Connectors.Simulation.SimulationServiceConnector.UpdateAgent ( GridRegion  destination,
AgentPosition  data 
)
inline

Send updated position information about an agent in this region to a neighbor This operation may be called very frequently if an avatar is moving about in the region.

Implements OpenSim.Services.Interfaces.ISimulationService.

Definition at line 187 of file SimulationServiceConnector.cs.

Here is the call graph for this function:


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