MethodRequest 类

定义

Json parser for a method request. Used to invoke methods on other devices/modules

public class MethodRequest
继承
java.lang.Object
MethodRequest

构造函数

MethodRequest(String methodName, String payload)

Constructor for a MethodRequest. Uses default responseTimeout and connectionTimeout which is to never timeout

MethodRequest(String methodName, String payload, Integer responseTimeout, Integer connectionTimeout)

Constructor for a MethodRequest.

方法

toJson()

Return the json representation of this object

适用于