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.Hypergrid.UserAgentServiceConnector Class Reference
Inheritance diagram for OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector:
Collaboration graph
[legend]

Public Member Functions

 UserAgentServiceConnector (string url)
 
 UserAgentServiceConnector (string url, bool dnsLookup)
 
 UserAgentServiceConnector (IConfigSource config)
 
bool LoginAgentToGrid (GridRegion source, AgentCircuitData aCircuit, GridRegion gatekeeper, GridRegion destination, bool fromLogin, out string reason)
 
bool LoginAgentToGrid (GridRegion source, AgentCircuitData aCircuit, GridRegion gatekeeper, GridRegion destination, out string reason)
 
void SetClientToken (UUID sessionID, string token)
 
GridRegion GetHomeRegion (UUID userID, out Vector3 position, out Vector3 lookAt)
 Returns the home region of a remote user. More...
 
bool IsAgentComingHome (UUID sessionID, string thisGridExternalName)
 
bool VerifyAgent (UUID sessionID, string token)
 
bool VerifyClient (UUID sessionID, string token)
 
void LogoutAgent (UUID userID, UUID sessionID)
 
List< UUID > StatusNotification (List< string > friends, UUID userID, bool online)
 
List< UUID > GetOnlineFriends (UUID userID, List< string > friends)
 
Dictionary< string, object > GetUserInfo (UUID userID)
 Returns the UserInfo of a remote user. More...
 
Dictionary< string, object > GetServerURLs (UUID userID)
 Returns the Server URLs of a remote user. More...
 
string LocateUser (UUID userID)
 Returns the current location of a remote user. More...
 
string GetUUI (UUID userID, UUID targetUserID)
 Returns the Universal User Identifier for 'targetUserID' on behalf of 'userID'. More...
 
UUID GetUUID (String first, String last)
 Returns the remote user that has the given name. More...
 
- Public Member Functions inherited from OpenSim.Services.Connectors.Simulation.SimulationServiceConnector
 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

override string AgentPath ()
 
override void PackData (OSDMap args, GridRegion source, AgentCircuitData aCircuit, GridRegion destination, uint flags)
 
- Protected Member Functions inherited from OpenSim.Services.Connectors.Simulation.SimulationServiceConnector
virtual string ObjectPath ()
 

Detailed Description

Definition at line 47 of file UserAgentServiceConnector.cs.

Constructor & Destructor Documentation

OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.UserAgentServiceConnector ( string  url)
inline

Definition at line 57 of file UserAgentServiceConnector.cs.

OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.UserAgentServiceConnector ( string  url,
bool  dnsLookup 
)
inline

Definition at line 61 of file UserAgentServiceConnector.cs.

OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.UserAgentServiceConnector ( IConfigSource  config)
inline

Definition at line 86 of file UserAgentServiceConnector.cs.

Member Function Documentation

override string OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.AgentPath ( )
inlineprotectedvirtual
GridRegion OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.GetHomeRegion ( UUID  userID,
out Vector3  position,
out Vector3  lookAt 
)
inline

Returns the home region of a remote user.

Returns
On success: the user's home region. If the user doesn't exist: null.

Throws an exception if an error occurs (e.g., can't contact the server).

Implements OpenSim.Services.Interfaces.IUserAgentService.

Definition at line 200 of file UserAgentServiceConnector.cs.

List<UUID> OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.GetOnlineFriends ( UUID  userID,
List< string >  friends 
)
inline

Definition at line 403 of file UserAgentServiceConnector.cs.

Dictionary<string, object> OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.GetServerURLs ( UUID  userID)
inline

Returns the Server URLs of a remote user.

Returns
On success: the user's Server URLs. If the user doesn't exist: an empty dictionary.

Throws an exception if an error occurs (e.g., can't contact the server).

Implements OpenSim.Services.Interfaces.IUserAgentService.

Definition at line 494 of file UserAgentServiceConnector.cs.

Dictionary<string,object> OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.GetUserInfo ( UUID  userID)
inline

Returns the UserInfo of a remote user.

Returns
On success: the user's UserInfo. If the user doesn't exist: an empty dictionary.

Throws an exception if an error occurs (e.g., can't contact the server).

Implements OpenSim.Services.Interfaces.IUserAgentService.

Definition at line 474 of file UserAgentServiceConnector.cs.

string OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.GetUUI ( UUID  userID,
UUID  targetUserID 
)
inline

Returns the Universal User Identifier for 'targetUserID' on behalf of 'userID'.

Returns
On success: the user's UUI. If the user doesn't exist: "".

Throws an exception if an error occurs (e.g., can't contact the server).

Implements OpenSim.Services.Interfaces.IUserAgentService.

Definition at line 530 of file UserAgentServiceConnector.cs.

UUID OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.GetUUID ( String  first,
String  last 
)
inline

Returns the remote user that has the given name.

Returns
On success: the user's UUID. If the user doesn't exist: UUID.Zero.

Throws an exception if an error occurs (e.g., can't contact the server).

Implements OpenSim.Services.Interfaces.IUserAgentService.

Definition at line 547 of file UserAgentServiceConnector.cs.

bool OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.IsAgentComingHome ( UUID  sessionID,
string  thisGridExternalName 
)
inline
string OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.LocateUser ( UUID  userID)
inline

Returns the current location of a remote user.

Returns
On success: the user's Server URLs. If the user doesn't exist: "".

Throws an exception if an error occurs (e.g., can't contact the server).

Implements OpenSim.Services.Interfaces.IUserAgentService.

Definition at line 514 of file UserAgentServiceConnector.cs.

bool OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.LoginAgentToGrid ( GridRegion  source,
AgentCircuitData  aCircuit,
GridRegion  gatekeeper,
GridRegion  destination,
bool  fromLogin,
out string  reason 
)
inline
bool OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.LoginAgentToGrid ( GridRegion  source,
AgentCircuitData  aCircuit,
GridRegion  gatekeeper,
GridRegion  destination,
out string  reason 
)
inline

Definition at line 147 of file UserAgentServiceConnector.cs.

void OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.LogoutAgent ( UUID  userID,
UUID  sessionID 
)
inline
override void OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.PackData ( OSDMap  args,
GridRegion  source,
AgentCircuitData  aCircuit,
GridRegion  destination,
uint  flags 
)
inlineprotectedvirtual
void OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.SetClientToken ( UUID  sessionID,
string  token 
)
inline

Definition at line 161 of file UserAgentServiceConnector.cs.

List<UUID> OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.StatusNotification ( List< string >  friends,
UUID  userID,
bool  online 
)
inline
bool OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.VerifyAgent ( UUID  sessionID,
string  token 
)
inline
bool OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector.VerifyClient ( UUID  sessionID,
string  token 
)
inline

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