TsgcWSPClient_WAMP

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

 

Methods

  Prefix: Procedures and Errors are identified using URIs or CURIEs, the client uses this method to send a new prefix.

 

 

  Subscribe: A client requests access to a valid topicURI (or CURIE from Prefix) to receive events published to the given topicURI. The request is asynchronous, the server will not return an acknowledgement of the subscription.

 

 

  UnSubscribe: Calling unsubscribe on a topicURI informs the server to stop delivering messages to the client previously subscribed to that topicURI.

 

 

  Call: sent by the client when requests a Remote Procedure Call (RPC)

 

 

  CancelCall: method called when the client wants cancel an active Call.

 

 

  Publish: The client will send an event to all clients connected to the server who have subscribed to the topicURI.

 

 

Events

 OnWelcome: is the first server-to-client message sent by a WAMP server

 

 

  OnCallError: event fired 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

 

 

  OnCallResult: event fired when the execution of the remote procedure finishes successfully, the server responds by sending a message with the result.

 

 

  OnCallProgressResult: event fired when the execution of the remote procedure is in progress and there are still more pending results.

 

 

  OnEvent: event fired when the client receives PubSub events published by subscribers via the EVENT message.