P - public class Request<P> extends Message
| Modifier and Type | Field and Description |
|---|---|
protected String |
method
Method to be invoked on the server
|
static String |
METHOD_FIELD_NAME |
protected P |
params
Method parameters
|
static String |
POLL_METHOD_NAME |
| Constructor and Description |
|---|
Request()
Default constructor.
|
Request(Integer id,
String method,
P params)
Parameterized constructor.
|
Request(String sessionId,
Integer id,
String method,
P params)
Parameterized constructor.
|
Request(String method,
P params) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getId() |
String |
getMethod() |
P |
getParams() |
boolean |
isNotification() |
void |
setId(Integer id) |
void |
setMethod(String method) |
void |
setParams(P params) |
getSessionId, getVersion, setSessionId, toStringpublic static final String METHOD_FIELD_NAME
public static final String POLL_METHOD_NAME
protected String method
protected P params
public Request()
public Request(String sessionId, Integer id, String method, P params)
method - Thrift interface methodparams - Method parametersid - Request identifiersessionId - The session id associated to this requestpublic Request(Integer id, String method, P params)
method - Thrift interface methodparams - Method parametersid - Request identifierCopyright © 2017 Kurento. All rights reserved.