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

Class that Region communications runs through
Afficher le fichier Open project: N3X15/VoxelSim Class Usage Examples

Méthodes publiques

Свойство Type Description
KiPrimitive KiPrimitiveDelegate

Protected Properties

Свойство Type Description
m_agentsInTransit List
m_regionInfo OpenSim.Framework.RegionInfo
m_scene Scene
regionCommsHost OpenSim.Framework.RegionCommsListener

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

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

InformNeighborsThatRegionisUp() public méthode

public InformNeighborsThatRegionisUp ( INeighbourService neighbourService, RegionInfo region ) : void
neighbourService INeighbourService
region OpenSim.Framework.RegionInfo
Résultat void

RegisterRegion() public méthode

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
Résultat void

RequestNamedRegions() public méthode

public RequestNamedRegions ( string name, int maxNumber ) : List
name string
maxNumber int
Résultat List

SceneCommunicationService() public méthode

public SceneCommunicationService ( ) : System
Résultat System

SendChildAgentDataUpdate() public méthode

public SendChildAgentDataUpdate ( AgentPosition cAgentData, ScenePresence presence ) : void
cAgentData OpenSim.Framework.AgentPosition
presence ScenePresence
Résultat void

SendCloseChildAgentAsync() protected méthode

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
Résultat void

SendCloseChildAgentConnections() public méthode

public SendCloseChildAgentConnections ( UUID agentID, List regionslst ) : void
agentID UUID
regionslst List
Résultat void

SetScene() public méthode

public SetScene ( Scene s ) : void
s Scene
Résultat void

Property Details

KiPrimitive public_oe property

public KiPrimitiveDelegate KiPrimitive
Résultat KiPrimitiveDelegate

m_agentsInTransit protected_oe property

protected List m_agentsInTransit
Résultat List

m_regionInfo protected_oe property

protected RegionInfo,OpenSim.Framework m_regionInfo
Résultat OpenSim.Framework.RegionInfo

m_scene protected_oe property

protected Scene,OpenSim.Region.Framework.Scenes m_scene
Résultat Scene

regionCommsHost protected_oe property

protected RegionCommsListener,OpenSim.Framework regionCommsHost
Résultat OpenSim.Framework.RegionCommsListener