C# Class Tce.RpcCommunicator

Inheritance: RpcMessageDispatcher.Client
Show file Open project: adoggie/TCE Class Usage Examples

Public Methods

Method Description
addAdatper ( RpcAdapter adapter ) : void
createAdapter ( string id ) : RpcAdapter
createAdapterWithProxy ( String id, RpcProxyBase proxy ) : RpcAdapter
createConnection ( int type, string host, int port ) : RpcConnection
getLogger ( ) : RpcLogger
getProperty_DefaultCallWaitTime ( ) : int
getSystemDeviceID ( ) : string
getUniqueSequence ( ) : int
initialize ( string name, Settings settings = null ) : bool
instance ( ) : RpcCommunicator
registerConnection ( RpcConnection conn ) : void
shutdown ( ) : void
unregisterConnection ( RpcConnection conn ) : void
waitForShutdown ( ) : void

Protected Methods

Method Description
_timerCheckHealth ( object source, System e ) : void

Private Methods

Method Description
RpcCommunicator ( ) : System
dequeueMessage ( int sequence ) : RpcMessage
dispatchMsg ( RpcMessage m ) : void
enqueueMessage ( int sequence, RpcMessage m ) : RpcCommunicator

Method Details

_timerCheckHealth() protected method

protected _timerCheckHealth ( object source, System e ) : void
source object
e System
return void

addAdatper() public method

public addAdatper ( RpcAdapter adapter ) : void
adapter RpcAdapter
return void

createAdapter() public method

public createAdapter ( string id ) : RpcAdapter
id string
return RpcAdapter

createAdapterWithProxy() public method

public createAdapterWithProxy ( String id, RpcProxyBase proxy ) : RpcAdapter
id String
proxy RpcProxyBase
return RpcAdapter

createConnection() public method

public createConnection ( int type, string host, int port ) : RpcConnection
type int
host string
port int
return RpcConnection

getLogger() public method

public getLogger ( ) : RpcLogger
return RpcLogger

getProperty_DefaultCallWaitTime() public method

public getProperty_DefaultCallWaitTime ( ) : int
return int

getSystemDeviceID() public static method

public static getSystemDeviceID ( ) : string
return string

getUniqueSequence() public method

public getUniqueSequence ( ) : int
return int

initialize() public method

public initialize ( string name, Settings settings = null ) : bool
name string
settings Settings
return bool

instance() public static method

public static instance ( ) : RpcCommunicator
return RpcCommunicator

registerConnection() public method

public registerConnection ( RpcConnection conn ) : void
conn RpcConnection
return void

shutdown() public method

public shutdown ( ) : void
return void

unregisterConnection() public method

public unregisterConnection ( RpcConnection conn ) : void
conn RpcConnection
return void

waitForShutdown() public method

public waitForShutdown ( ) : void
return void