R
- public class Response<R> extends Message
Constructor and Description |
---|
Response()
Default constructor.
|
Response(Integer id) |
Response(Integer id,
R result) |
Response(Integer id,
ResponseError error) |
Response(R result) |
Response(ResponseError error) |
Response(String sessionId,
Integer id,
R result) |
Response(String sessionId,
Integer id,
ResponseError error) |
Modifier and Type | Method and Description |
---|---|
ResponseError |
getError() |
Integer |
getId() |
R |
getResult() |
boolean |
isError() |
void |
setError(ResponseError error) |
void |
setId(Integer id) |
void |
setResult(R result) |
getSessionId, getVersion, setSessionId, toString
public Response()
public Response(R result)
public Response(ResponseError error)
public Response(Integer id, ResponseError error)
public Response(Integer id)
public Response(String sessionId, Integer id, ResponseError error)
public R getResult()
public void setResult(R result)
public Integer getId()
public void setId(Integer id)
public ResponseError getError()
public void setError(ResponseError error)
public boolean isError()
Copyright © 2017 Kurento. All rights reserved.