lib60870.NET
2.2.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
|
Represents a client (master) connection More...
Public Member Functions | |
ApplicationLayerParameters | GetApplicationLayerParameters () |
Gets the connection parameters. More... | |
void | SendASDU (ASDU asdu) |
Send a response ASDU over this connection More... | |
void | SendACT_CON (ASDU asdu, bool negative) |
void | SendACT_TERM (ASDU asdu) |
bool | RemoteCertificateValidationCallback (object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors) |
void | Close () |
void | ASDUReadyToSend () |
Properties | |
IPEndPoint | RemoteEndpoint [get] |
Gets the remote endpoint (client IP address and TCP port) More... | |
bool | IsActive [get, set] |
Gets or sets a value indicating whether this connection is active. The active connection is the only connection that is answering application layer requests and sends cyclic, and spontaneous messages. More... | |
Represents a client (master) connection
ApplicationLayerParameters lib60870.CS104.ClientConnection.GetApplicationLayerParameters | ( | ) |
Gets the connection parameters.
Implements lib60870.CS101.IMasterConnection.
void lib60870.CS104.ClientConnection.SendASDU | ( | ASDU | asdu | ) |
Send a response ASDU over this connection
ConnectionException | Throws an exception if the connection is no longer active (e.g. because it has been closed by the other side). |
asdu | The ASDU to send |
Implements lib60870.CS101.IMasterConnection.
|
getset |
Gets or sets a value indicating whether this connection is active. The active connection is the only connection that is answering application layer requests and sends cyclic, and spontaneous messages.
true
if this instance is active; otherwise, false
.
|
get |
Gets the remote endpoint (client IP address and TCP port)
The remote IP endpoint