lib60870.NET  2.2.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
lib60870.CS101.IPrivateIOFactory Interface Reference

Public Member Functions

InformationObject Decode (ApplicationLayerParameters parameters, byte[] msg, int startIndex, bool isSequence)
 Decode the information object and create a new InformationObject instance More...
 
int GetEncodedSize ()
 Gets the encoded payload size of the object (information object size without the IOA) More...
 

Member Function Documentation

◆ Decode()

InformationObject lib60870.CS101.IPrivateIOFactory.Decode ( ApplicationLayerParameters  parameters,
byte []  msg,
int  startIndex,
bool  isSequence 
)

Decode the information object and create a new InformationObject instance

Parameters
parametersApplication layer parameters required for decoding
msgthe received message
startIndexstart index of the payload in the message
isSequenceIf set to true is sequence.

◆ GetEncodedSize()

int lib60870.CS101.IPrivateIOFactory.GetEncodedSize ( )

Gets the encoded payload size of the object (information object size without the IOA)

Returns
The encoded size in bytes

The documentation for this interface was generated from the following file: