C# Class Universe.Framework.Services.ConnectorBase

Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Свойство Type Description
m_OSDRequestTryCount int
m_doRemoteCalls bool
m_doRemoteOnly bool
m_name string
m_password string
m_registry IRegistryCore
m_startedServer bool

Méthodes publiques

Méthode Description
CheckPassword ( string password ) : bool
DoRemote ( ) : object
DoRemoteByURL ( string url ) : object
DoRemoteCallGet ( bool forced, string url ) : object

DoRemoteCallPost ( bool forced, string url ) : void
DoRemotePost ( ) : void
DoRemotePostByURL ( string url ) : void
Init ( IRegistryCore registry, string name, string password = "", string serverPath = "", string serverHandlerName = "" ) : void
SetDoRemoteCalls ( bool doRemoteCalls ) : void
SetPassword ( string password ) : void

Méthodes protégées

Méthode Description
CreateServerHandler ( uint port, string urlPath, string serverHandlerName ) : void

Private Methods

Méthode Description
GetOSDMap ( string url, OSDMap map, OSDMap &response ) : bool
GetReflection ( int upStack, StackTrace stackTrace, MethodInfo &method, Universe.Framework.Utilities.CanBeReflected &reflection ) : void
GetResponse ( MethodInfo method, OSDMap map, string serverURL ) : object
PrepRemoteCall ( string url, object o, MethodInfo &method, OSDMap &map, string &serverURL ) : bool

Method Details

CheckPassword() public méthode

public CheckPassword ( string password ) : bool
password string
Résultat bool

CreateServerHandler() protected méthode

protected CreateServerHandler ( uint port, string urlPath, string serverHandlerName ) : void
port uint
urlPath string
serverHandlerName string
Résultat void

DoRemote() public méthode

public DoRemote ( ) : object
Résultat object

DoRemoteByURL() public méthode

public DoRemoteByURL ( string url ) : object
url string
Résultat object

DoRemoteCallGet() public méthode

public DoRemoteCallGet ( bool forced, string url ) : object
forced bool Whether this remote call is forced (if false, it will only call if m_doRemoteCalls is true)
url string The URL to call
Résultat object

DoRemoteCallPost() public méthode

public DoRemoteCallPost ( bool forced, string url ) : void
forced bool
url string
Résultat void

DoRemotePost() public méthode

public DoRemotePost ( ) : void
Résultat void

DoRemotePostByURL() public méthode

public DoRemotePostByURL ( string url ) : void
url string
Résultat void

Init() public méthode

public Init ( IRegistryCore registry, string name, string password = "", string serverPath = "", string serverHandlerName = "" ) : void
registry IRegistryCore
name string
password string
serverPath string
serverHandlerName string
Résultat void

SetDoRemoteCalls() public méthode

public SetDoRemoteCalls ( bool doRemoteCalls ) : void
doRemoteCalls bool
Résultat void

SetPassword() public méthode

public SetPassword ( string password ) : void
password string
Résultat void

Property Details

m_OSDRequestTryCount protected_oe property

protected int m_OSDRequestTryCount
Résultat int

m_doRemoteCalls protected_oe property

protected bool m_doRemoteCalls
Résultat bool

m_doRemoteOnly protected_oe property

protected bool m_doRemoteOnly
Résultat bool

m_name protected_oe property

protected string m_name
Résultat string

m_password protected_oe property

protected string m_password
Résultat string

m_registry protected_oe property

protected IRegistryCore m_registry
Résultat IRegistryCore

m_startedServer protected_oe property

protected bool m_startedServer
Résultat bool