C# Class OpenSim.Region.Framework.Scenes.SceneCommunicationService

Class that Region communications runs through
ファイルを表示 Open project: N3X15/VoxelSim Class Usage Examples

Public Properties

Property Type Description
KiPrimitive KiPrimitiveDelegate

Protected Properties

Property Type Description
m_agentsInTransit List
m_regionInfo OpenSim.Framework.RegionInfo
m_scene Scene
regionCommsHost OpenSim.Framework.RegionCommsListener

Public Methods

Method Description
Close ( ) : void

This region is shutting down, de-register all events! De-Register region from Grid!

InformNeighborsThatRegionisUp ( INeighbourService neighbourService, RegionInfo region ) : void
RegisterRegion ( IInterregionCommsOut comms_out, RegionInfo regionInfos ) : void

Register a region with the grid

RequestNamedRegions ( string name, int maxNumber ) : List
SceneCommunicationService ( ) : System
SendChildAgentDataUpdate ( AgentPosition cAgentData, ScenePresence presence ) : void
SendCloseChildAgentConnections ( UUID agentID, List regionslst ) : void
SetScene ( Scene s ) : void

Protected Methods

Method Description
SendCloseChildAgentAsync ( UUID agentID, ulong regionHandle ) : void

This Closes child agents on neighboring regions Calls an asynchronous method to do so.. so it doesn't lag the sim.

Private Methods

Method Description
InformNeighborsThatRegionisUpCompleted ( IAsyncResult iar ) : void
InformNeighboursThatRegionIsUpAsync ( INeighbourService neighbourService, RegionInfo region, ulong regionhandle ) : void

Asynchronous call to information neighbouring regions that this region is up

SendChildAgentDataUpdateAsync ( AgentPosition cAgentData, ulong regionHandle ) : void

This informs all neighboring regions about the settings of it's child agent. Calls an asynchronous method to do so.. so it doesn't lag the sim. This contains information, such as, Draw Distance, Camera location, Current Position, Current throttle settings, etc.

SendChildAgentDataUpdateCompleted ( IAsyncResult iar ) : void
SendCloseChildAgentCompleted ( IAsyncResult iar ) : void

Method Details

Close() public method

This region is shutting down, de-register all events! De-Register region from Grid!
public Close ( ) : void
return void

InformNeighborsThatRegionisUp() public method

public InformNeighborsThatRegionisUp ( INeighbourService neighbourService, RegionInfo region ) : void
neighbourService INeighbourService
region OpenSim.Framework.RegionInfo
return void

RegisterRegion() public method

Register a region with the grid
Thrown if region registration fails.
public RegisterRegion ( IInterregionCommsOut comms_out, RegionInfo regionInfos ) : void
comms_out IInterregionCommsOut
regionInfos OpenSim.Framework.RegionInfo
return void

RequestNamedRegions() public method

public RequestNamedRegions ( string name, int maxNumber ) : List
name string
maxNumber int
return List

SceneCommunicationService() public method

public SceneCommunicationService ( ) : System
return System

SendChildAgentDataUpdate() public method

public SendChildAgentDataUpdate ( AgentPosition cAgentData, ScenePresence presence ) : void
cAgentData OpenSim.Framework.AgentPosition
presence ScenePresence
return void

SendCloseChildAgentAsync() protected method

This Closes child agents on neighboring regions Calls an asynchronous method to do so.. so it doesn't lag the sim.
protected SendCloseChildAgentAsync ( UUID agentID, ulong regionHandle ) : void
agentID UUID
regionHandle ulong
return void

SendCloseChildAgentConnections() public method

public SendCloseChildAgentConnections ( UUID agentID, List regionslst ) : void
agentID UUID
regionslst List
return void

SetScene() public method

public SetScene ( Scene s ) : void
s Scene
return void

Property Details

KiPrimitive public_oe property

public KiPrimitiveDelegate KiPrimitive
return KiPrimitiveDelegate

m_agentsInTransit protected_oe property

protected List m_agentsInTransit
return List

m_regionInfo protected_oe property

protected RegionInfo,OpenSim.Framework m_regionInfo
return OpenSim.Framework.RegionInfo

m_scene protected_oe property

protected Scene,OpenSim.Region.Framework.Scenes m_scene
return Scene

regionCommsHost protected_oe property

protected RegionCommsListener,OpenSim.Framework regionCommsHost
return OpenSim.Framework.RegionCommsListener