IRPCProvider.Cancel (METH) ¶ METHOD Cancel : ERROR This method is called by the server, if a client has sent a cancel to the Object- and InterfaceUUID of this IRPCProvider. itfCallback.RequestCallback() shouldn’t to be called after receiving this Cancel(). InOut: Scope Name Type Comment Return Cancel ERROR Input uiOperationNumber UINT The operation number of the operation the provider shall cancel.
IRPCCLClient ¶ Abort (Method) Cancel (Method) CommStatus (Property) EndSession (Method) FaultStatus (Property) Init (Method) Invoke (Method) RequestState (Property) Session (Property) StartSession (Method) State (Property)
Properties ¶ InterfaceIP (Property)
CLClient.SetSourcePortRange (METH) ¶ METHOD SetSourcePortRange : ERROR InOut: Scope Name Type Return SetSourcePortRange ERROR Input uiFirstPort UINT uiLastPort UINT
CLServer (FB) ¶ FUNCTION_BLOCK CLServer EXTENDS CLCommunicator Server offers RPC to the network. How to use the CLServer: CLServer instances need to be called cyclically. OPTIONAL: Set Properties (InterfaceIP, EndPointMapperPort, Annotation) Call Init() Register IRPCProvider (up to 8) –> See IRPCProvider Interface for documentation of “how to offer a rpc” Error occurred: Abort() and continue with step 1.) The CLServer offers a couple of RPC from the scratch. See RemoteProcedureCalls . Properties: InterfaceIP ResponseState State Methods: Abort GetResolutionByActivityID Init RegisterIRPCProvider SetSourcePortRange UnregisterIRPCProvider Structure: Abort (Method) GetResolutionByActivityID (Method) Init (Method) Properties InterfaceIP (Property) ResponseState (Property) State (Property) RegisterIRPCProvider (Method) SetSourcePortRange (Method) UnregisterIRPCProvider (Method)
CLServer.Abort (METH) ¶ METHOD Abort : ERROR InOut: Scope Name Type Return Abort ERROR
CLServer.GetResolutionByActivityID (METH) ¶ METHOD GetResolutionByActivityID : ActivityResolution InOut: Scope Name Type Return GetResolutionByActivityID ActivityResolution Input strActivityID UUID
CLServer.Init (METH) ¶ METHOD Init : ERROR InOut: Scope Name Type Comment Return Init ERROR Input uiPort UINT Port on which the server shall listen (suggestion: RPC.Constants.gc_uiDefaultUDPPort) strOptions CLServerOptions Options for the rpc stack
Properties ¶ InterfaceIP (Property) ResponseState (Property) State (Property)
CLClient.Cancel (METH) ¶ METHOD Cancel : ERROR Cancels the pending request. The Server is notified that it has no longer to operate this request. CancelCallback returns the result. InOut: Scope Name Type Return Cancel ERROR