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.
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Méthodes publiques

Свойство Type Description
OSPA_TUPLE_SEPARATOR_ARRAY char[]

Méthodes publiques

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

Méthodes protégées

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

Hash a profile name into a UUID
public static HashName ( string name ) : UUID
name string
Résultat UUID

MakeOspa() public static méthode

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

MakeOspa() public static méthode

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

ResolveOspa() public static méthode

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

ResolveOspaName() protected static méthode

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

Property Details

OSPA_TUPLE_SEPARATOR_ARRAY public_oe static_oe property

public static char[] OSPA_TUPLE_SEPARATOR_ARRAY
Résultat char[]