IServerCommand (ITF) ¶ INTERFACE IServerCommand EXTENDS __SYSTEM.IQueryInterface Interface to handle the commands arriving on the server side Methods: Exec Structure: Exec (Method)
IServerCommand.Exec (METH) ¶ METHOD Exec Elaboration of a command in Server side: command is elaborated and next send the answer to client InOut: Scope Name Type Comment Input uiCmd UINT Command code pDataRcv __XWORD Pointer where are the data received diSizeRcv DINT Data received Output pDataTrs __XWORD Pointer to the data to transmit back diSizeTrs DINT Data to transmit uiAns UINT Answer code iError INT Error to transmit back
RDT_Base (FB) ¶ FUNCTION_BLOCK ABSTRACT RDT_Base Base FB for TCP activities in Redundancy Data Transfer Properties: IPAddress Port RcvTimeout TrsTimeout Methods: FlushRec ReceiveBytes SendBytes SetTLSContext Structure: FlushRec (Method) IRdtProt IPAddress (Property) Port (Property) RcvTimeout (Property) TrsTimeout (Property) ReceiveBytes (Method) SendBytes (Method) SetTLSContext (Method)
RDT_Server.Active (PROP) ¶ PROPERTY Active : BOOL
RDT_Server.Busy (PROP) ¶ PROPERTY Busy : BOOL Operation is running
RDT_Server.Create (METH) ¶ METHOD Create : IRdtProtServer It creates and initializes the object Server InOut: Scope Name Type Comment Return Create IRdtProtServer Input pStruIni POINTER TO RdtInitStructServerTCP Parameters to use Output error INT
RDT_Server.CyclicCall (METH) ¶ METHOD CyclicCall Server cyclic call
RDT_Server.Enable (PROP) ¶ PROPERTY Enable : BOOL
RDT_Server.Error (PROP) ¶ PROPERTY Error : BOOL Error condition reached
RDT_Server.ErrorCode (PROP) ¶ PROPERTY ErrorCode : INT