Packageeng.httpService
Classpublic class RPCItem

The instance array of the RPCItem class is set to the value of the rpcList property of the HttpMultiServiceRepeater class.

The HttpMultiServiceRepeater class supports multiple RPC requests to multiple URLs.

<RPCItem name="rpc1" method="get" target="series1"/>



Styles
 StyleDescriptionDefined by
  
concurrency
Type: String

Sets how to handle RPC requests when they occur at the same time.

The valid values are "multiple", "single" and "last".
  • multiple: Sends all without canceling the request.
  • single: Displays an alert message when multiple requests occur. (Only one request at a time.)
  • last: Sends only the last request and cancel the rest.
The default value is "multiple".
RPCItem
  
interval
Type: Number

Sets the RPC request frequency in seconds.

RPCItem
  
method
Type: String

Sets the RPC method.

The valid values are "get" and "post".
  • get - The way to pass the query value (Query String) at the end of the URL. (disadvantages of sending large amounts of data.)
  • post - The way to pass data through the HTTP body. (sends more data than the get method.)
RPCItem
  
name
Type: String

Sets the name (identifier) of the instance of the RPCItem class.

RPCItem
  
retryCount
Type: Number

Sets the number of retries when a request fails.

The default value is 3.
RPCItem
  
target
Type: Object

Specifies the series that receives the data received in response to an RPC request.

RPCItem
  
url
Type: String

Sets the URL to send the RPC request.

RPCItem