C# Class Universe.Modules.Archivers.OspResolver

Resolves OpenSim Profile Anchors (OSPA). An OSPA is a string used to provide information for identifying user profiles or supplying a simple name if no profile is available.
ファイルを表示 Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Properties

Property Type Description
OSPA_TUPLE_SEPARATOR_ARRAY char[]

Public Methods

Method Description
HashName ( string name ) : UUID

Hash a profile name into a UUID

MakeOspa ( UUID userId, IUserAccountService userService ) : string

Make an OSPA given a user UUID

MakeOspa ( string firstName, string lastName ) : string

Make an OSPA given a user name

ResolveOspa ( string ospa, IUserAccountService userService ) : UUID

Resolve an osp string into the most suitable internal OpenSim identifier.

Protected Methods

Method Description
ResolveOspaName ( string name, IUserAccountService userService ) : UUID

Resolve an OSPI name by querying existing persistent user profiles. If there is no persistent user profile then a temporary user profile is inserted in the cache.

Method Details

HashName() public static method

Hash a profile name into a UUID
public static HashName ( string name ) : UUID
name string
return UUID

MakeOspa() public static method

Make an OSPA given a user UUID
public static MakeOspa ( UUID userId, IUserAccountService userService ) : string
userId UUID
userService IUserAccountService
return string

MakeOspa() public static method

Make an OSPA given a user name
public static MakeOspa ( string firstName, string lastName ) : string
firstName string
lastName string
return string

ResolveOspa() public static method

Resolve an osp string into the most suitable internal OpenSim identifier.
public static ResolveOspa ( string ospa, IUserAccountService userService ) : UUID
ospa string
userService IUserAccountService
return UUID

ResolveOspaName() protected static method

Resolve an OSPI name by querying existing persistent user profiles. If there is no persistent user profile then a temporary user profile is inserted in the cache.
protected static ResolveOspaName ( string name, IUserAccountService userService ) : UUID
name string
userService IUserAccountService
return UUID

Property Details

OSPA_TUPLE_SEPARATOR_ARRAY public_oe static_oe property

public static char[] OSPA_TUPLE_SEPARATOR_ARRAY
return char[]