Méthode | Description | |
---|---|---|
GXDLMSBase ( bool logicalNameReferencing, InterfaceType type ) : System | ||
Initialize ( int port ) : void |
Generic initialize for all servers.
|
|
Initialize ( string port ) : void | ||
Update ( UpdateType type, |
Méthode | Description | |
---|---|---|
Action ( |
||
Connected ( |
||
Disconnected ( |
||
FindObject ( ObjectType objectType, int sn, string ln ) : |
All objects are static in our example.
|
|
InvalidConnection ( |
||
IsTarget ( int serverAddress, int clientAddress ) : bool |
Our example server accept all connections.
|
|
Read ( |
Generic read handle for all servers.
|
|
ValidateAuthentication ( Authentication authentication, byte password ) : SourceDiagnostic |
Our example server accept all authentications.
|
|
Write ( |
Méthode | Description | |
---|---|---|
Init ( ) : void | ||
OnClientConnected ( object sender, Gurux e ) : void |
Client has made connection.
|
|
OnClientDisconnected ( object sender, Gurux e ) : void |
Client has close connection.
|
|
OnError ( object sender, |
||
OnReceived ( object sender, Gurux e ) : void |
Client has send data.
|
|
SendPush ( |
protected Action ( |
||
args | ||
Résultat | void |
protected Connected ( |
||
e | ||
Résultat | void |
protected Disconnected ( |
||
e | ||
Résultat | void |
protected FindObject ( ObjectType objectType, int sn, string ln ) : |
||
objectType | ObjectType | |
sn | int | |
ln | string | |
Résultat |
public GXDLMSBase ( bool logicalNameReferencing, InterfaceType type ) : System | ||
logicalNameReferencing | bool | |
type | InterfaceType | |
Résultat | System |
protected InvalidConnection ( |
||
e | ||
Résultat | void |
protected IsTarget ( int serverAddress, int clientAddress ) : bool | ||
serverAddress | int | |
clientAddress | int | |
Résultat | bool |
protected Read ( |
||
args | ||
Résultat | void |
public Update ( UpdateType type, |
||
type | UpdateType | |
e | ||
Résultat | void |
protected ValidateAuthentication ( Authentication authentication, byte password ) : SourceDiagnostic | ||
authentication | Authentication | |
password | byte | |
Résultat | SourceDiagnostic |
protected Write ( |
||
args | ||
Résultat | void |