TsgcWSPServer_WAMP

This is Server Protocol WAMP Component, you need to drop this component in the form and select a TsgcWebSocketServer Component using Server Property.

 

Methods

  CallResult: When the execution of the remote procedure finishes successfully, the server responds by sending a message with the result.

 

 

  CallProgressResult: when rpc has multiple results, this method is called when still there are more results to send. Example: if method has 20 results, from method 1 to 19, CallProgressResult must be called. And the final method, number 20, must be called with CallResult to finish method.

 

 

  CallError: When the remote procedure call could not be executed, an error or exception occurred during the execution or the execution of the remote procedure finishes unsuccessfully for any other reason, the server responds by sending a message with error details.

 

 

 

  Event: Subscribers receive PubSub events published by subscribers via the EVENT message.

 

 

 

Events

  OnCall: event fired when the server receives RPC called by the client

 

 

  OnBeforeCancelCall: event fired when the server receives a request to cancel a Call from client.

 

 

  OnPrefix: Procedures and Errors are identified using URIs or CURIEs, this event is triggered when a client sends a new prefix