C# Class OpenSim.Services.Connectors.SimianGrid.SimianPresenceServiceConnector

Inheritance: IPresenceService, IGridUserService, ISharedRegionModule
显示文件 Open project: N3X15/VoxelSim Class Usage Examples

Public Methods

Method Description
AddRegion ( Scene scene ) : void
Close ( ) : void
GetAgent ( UUID sessionID ) : OpenSim.Services.Interfaces.PresenceInfo
GetAgents ( string userIDs ) : PresenceInfo[]
GetGridUserInfo ( string user ) : OpenSim.Services.Interfaces.GridUserInfo
Initialise ( IConfigSource source ) : void
LoggedIn ( string userID ) : OpenSim.Services.Interfaces.GridUserInfo
LoggedOut ( string userID, UUID sessionID, UUID regionID, System.Vector3 lastPosition, System.Vector3 lastLookAt ) : bool
LoginAgent ( string userID, UUID sessionID, UUID secureSessionID ) : bool
LogoutAgent ( UUID sessionID ) : bool
LogoutRegionAgents ( UUID regionID ) : bool
PostInitialise ( ) : void
RegionLoaded ( Scene scene ) : void
RemoveRegion ( Scene scene ) : void
ReportAgent ( UUID sessionID, UUID regionID ) : bool
SetHome ( string userID, UUID regionID, System.Vector3 position, System.Vector3 lookAt ) : bool
SetLastPosition ( string userID, UUID sessionID, UUID regionID, System.Vector3 lastPosition, System.Vector3 lastLookAt ) : bool
SimianPresenceServiceConnector ( ) : System
SimianPresenceServiceConnector ( IConfigSource source ) : System

Private Methods

Method Description
CommonInit ( IConfigSource source ) : void
DeserializeLocation ( string location, UUID &regionID, System.Vector3 &position, System.Vector3 &lookAt ) : bool
GetSessions ( UUID userID ) : List
GetUserData ( UUID userID ) : OSDMap
ResponseToGridUserInfo ( OSDMap userResponse ) : OpenSim.Services.Interfaces.GridUserInfo
ResponseToPresenceInfo ( OSDMap sessionResponse, OSDMap userResponse ) : OpenSim.Services.Interfaces.PresenceInfo
SerializeLocation ( UUID regionID, System.Vector3 position, System.Vector3 lookAt ) : string
UpdateSession ( UUID sessionID, UUID regionID, System.Vector3 lastPosition, System.Vector3 lastLookAt ) : bool

Method Details

AddRegion() public method

public AddRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
return void

Close() public method

public Close ( ) : void
return void

GetAgent() public method

public GetAgent ( UUID sessionID ) : OpenSim.Services.Interfaces.PresenceInfo
sessionID UUID
return OpenSim.Services.Interfaces.PresenceInfo

GetAgents() public method

public GetAgents ( string userIDs ) : PresenceInfo[]
userIDs string
return PresenceInfo[]

GetGridUserInfo() public method

public GetGridUserInfo ( string user ) : OpenSim.Services.Interfaces.GridUserInfo
user string
return OpenSim.Services.Interfaces.GridUserInfo

Initialise() public method

public Initialise ( IConfigSource source ) : void
source IConfigSource
return void

LoggedIn() public method

public LoggedIn ( string userID ) : OpenSim.Services.Interfaces.GridUserInfo
userID string
return OpenSim.Services.Interfaces.GridUserInfo

LoggedOut() public method

public LoggedOut ( string userID, UUID sessionID, UUID regionID, System.Vector3 lastPosition, System.Vector3 lastLookAt ) : bool
userID string
sessionID UUID
regionID UUID
lastPosition System.Vector3
lastLookAt System.Vector3
return bool

LoginAgent() public method

public LoginAgent ( string userID, UUID sessionID, UUID secureSessionID ) : bool
userID string
sessionID UUID
secureSessionID UUID
return bool

LogoutAgent() public method

public LogoutAgent ( UUID sessionID ) : bool
sessionID UUID
return bool

LogoutRegionAgents() public method

public LogoutRegionAgents ( UUID regionID ) : bool
regionID UUID
return bool

PostInitialise() public method

public PostInitialise ( ) : void
return void

RegionLoaded() public method

public RegionLoaded ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
return void

RemoveRegion() public method

public RemoveRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
return void

ReportAgent() public method

public ReportAgent ( UUID sessionID, UUID regionID ) : bool
sessionID UUID
regionID UUID
return bool

SetHome() public method

public SetHome ( string userID, UUID regionID, System.Vector3 position, System.Vector3 lookAt ) : bool
userID string
regionID UUID
position System.Vector3
lookAt System.Vector3
return bool

SetLastPosition() public method

public SetLastPosition ( string userID, UUID sessionID, UUID regionID, System.Vector3 lastPosition, System.Vector3 lastLookAt ) : bool
userID string
sessionID UUID
regionID UUID
lastPosition System.Vector3
lastLookAt System.Vector3
return bool

SimianPresenceServiceConnector() public method

public SimianPresenceServiceConnector ( ) : System
return System

SimianPresenceServiceConnector() public method

public SimianPresenceServiceConnector ( IConfigSource source ) : System
source IConfigSource
return System