ZMRpcRequest
public interface ZMRpcRequest
| Method Summary | |
|---|---|
| ZMRpcResponse | Create a matching response object. |
| mixed | getData() Get the payload. |
| int | getId() Get the request id. |
| string | Get the method name to execute. |
| ZMRequest | Get the underlying request. |
public ZMRpcResponse createResponse()
Create a matching response object.
public mixed getData()
Get the payload.
public int getId()
Get the request id.
public string getMethod()
Get the method name to execute.
public ZMRequest getRequest()
Get the underlying request.
RPC request interface.
Generic (R)emote (P)rocedure (C)all request interface, irrespective of the underlying format.
Implementations are expected to accept an instance of
ZMRequestas single constructor argument.