C# Class Tce.RpcCommunicator

Inheritance: RpcMessageDispatcher.Client
Afficher le fichier Open project: adoggie/TCE Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
_timerCheckHealth ( object source, System e ) : void

Private Methods

Méthode Description
RpcCommunicator ( ) : System
dequeueMessage ( int sequence ) : RpcMessage
dispatchMsg ( RpcMessage m ) : void
enqueueMessage ( int sequence, RpcMessage m ) : RpcCommunicator

Method Details

_timerCheckHealth() protected méthode

protected _timerCheckHealth ( object source, System e ) : void
source object
e System
Résultat void

addAdatper() public méthode

public addAdatper ( RpcAdapter adapter ) : void
adapter RpcAdapter
Résultat void

createAdapter() public méthode

public createAdapter ( string id ) : RpcAdapter
id string
Résultat RpcAdapter

createAdapterWithProxy() public méthode

public createAdapterWithProxy ( String id, RpcProxyBase proxy ) : RpcAdapter
id String
proxy RpcProxyBase
Résultat RpcAdapter

createConnection() public méthode

public createConnection ( int type, string host, int port ) : RpcConnection
type int
host string
port int
Résultat RpcConnection

getLogger() public méthode

public getLogger ( ) : RpcLogger
Résultat RpcLogger

getProperty_DefaultCallWaitTime() public méthode

public getProperty_DefaultCallWaitTime ( ) : int
Résultat int

getSystemDeviceID() public static méthode

public static getSystemDeviceID ( ) : string
Résultat string

getUniqueSequence() public méthode

public getUniqueSequence ( ) : int
Résultat int

initialize() public méthode

public initialize ( string name, Settings settings = null ) : bool
name string
settings Settings
Résultat bool

instance() public static méthode

public static instance ( ) : RpcCommunicator
Résultat RpcCommunicator

registerConnection() public méthode

public registerConnection ( RpcConnection conn ) : void
conn RpcConnection
Résultat void

shutdown() public méthode

public shutdown ( ) : void
Résultat void

unregisterConnection() public méthode

public unregisterConnection ( RpcConnection conn ) : void
conn RpcConnection
Résultat void

waitForShutdown() public méthode

public waitForShutdown ( ) : void
Résultat void