C# Class SpiderDriver.DataService

Inheritance: SocketServer2
Afficher le fichier Open project: cdy816/mars

Méthodes publiques

Méthode Description
AsyncCallback ( string clientId, ByteBuffer data ) : void

AsyncCallback ( string clientId, byte fun, Array value, int len ) : void

AsyncCallback ( string clientId, byte fun, IntPtr value, int len ) : void

DataService ( ) : Cdy.Tag

NotifyDatabaseChangd ( bool isRealChanged, bool isHisChanged ) : void

OnClientConnected ( string id, bool isConnected ) : void
PushRealDatatoClient ( string clientId, Array value ) : void

PushRealDatatoClient ( string clientId, ByteBuffer value ) : void

Start ( int port ) : void

Stop ( ) : void

Private Methods

Méthode Description
HisDataRequest ( string clientid, ByteBuffer memory ) : ByteBuffer

RealDataRequest ( string clientId, ByteBuffer memory ) : ByteBuffer

RegistorInit ( ) : void

TagInfoRequest ( string clientId, ByteBuffer memory ) : ByteBuffer

Method Details

AsyncCallback() public méthode

public AsyncCallback ( string clientId, ByteBuffer data ) : void
clientId string
data ByteBuffer
Résultat void

AsyncCallback() public méthode

public AsyncCallback ( string clientId, byte fun, Array value, int len ) : void
clientId string
fun byte
value Array
len int
Résultat void

AsyncCallback() public méthode

public AsyncCallback ( string clientId, byte fun, IntPtr value, int len ) : void
clientId string
fun byte
value IntPtr
len int
Résultat void

DataService() public méthode

public DataService ( ) : Cdy.Tag
Résultat Cdy.Tag

NotifyDatabaseChangd() public méthode

public NotifyDatabaseChangd ( bool isRealChanged, bool isHisChanged ) : void
isRealChanged bool
isHisChanged bool
Résultat void

OnClientConnected() public méthode

public OnClientConnected ( string id, bool isConnected ) : void
id string
isConnected bool
Résultat void

PushRealDatatoClient() public méthode

public PushRealDatatoClient ( string clientId, Array value ) : void
clientId string
value Array
Résultat void

PushRealDatatoClient() public méthode

public PushRealDatatoClient ( string clientId, ByteBuffer value ) : void
clientId string
value ByteBuffer
Résultat void

Start() public méthode

public Start ( int port ) : void
port int
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void