C# Class Universe.Framework.Services.ConnectorBase

Mostra file Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Property Type Description
m_OSDRequestTryCount int
m_doRemoteCalls bool
m_doRemoteOnly bool
m_name string
m_password string
m_registry IRegistryCore
m_startedServer bool

Public Methods

Method 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

Protected Methods

Method Description
CreateServerHandler ( uint port, string urlPath, string serverHandlerName ) : void

Private Methods

Method 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 method

public CheckPassword ( string password ) : bool
password string
return bool

CreateServerHandler() protected method

protected CreateServerHandler ( uint port, string urlPath, string serverHandlerName ) : void
port uint
urlPath string
serverHandlerName string
return void

DoRemote() public method

public DoRemote ( ) : object
return object

DoRemoteByURL() public method

public DoRemoteByURL ( string url ) : object
url string
return object

DoRemoteCallGet() public method

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
return object

DoRemoteCallPost() public method

public DoRemoteCallPost ( bool forced, string url ) : void
forced bool
url string
return void

DoRemotePost() public method

public DoRemotePost ( ) : void
return void

DoRemotePostByURL() public method

public DoRemotePostByURL ( string url ) : void
url string
return void

Init() public method

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

SetDoRemoteCalls() public method

public SetDoRemoteCalls ( bool doRemoteCalls ) : void
doRemoteCalls bool
return void

SetPassword() public method

public SetPassword ( string password ) : void
password string
return void

Property Details

m_OSDRequestTryCount protected_oe property

protected int m_OSDRequestTryCount
return int

m_doRemoteCalls protected_oe property

protected bool m_doRemoteCalls
return bool

m_doRemoteOnly protected_oe property

protected bool m_doRemoteOnly
return bool

m_name protected_oe property

protected string m_name
return string

m_password protected_oe property

protected string m_password
return string

m_registry protected_oe property

protected IRegistryCore m_registry
return IRegistryCore

m_startedServer protected_oe property

protected bool m_startedServer
return bool