public interface Transaction
| Modifier and Type | Method and Description |
|---|---|
Session |
getSession() |
boolean |
isNotification() |
void |
sendError(int code,
String type,
String data) |
void |
sendError(int code,
String type,
String message,
String data) |
void |
sendError(ResponseError error) |
void |
sendError(Throwable e) |
void |
sendResponse(Object result) |
void |
sendResponseObject(Response<? extends Object> response) |
void |
sendVoidResponse() |
void |
startAsync() |
void sendResponseObject(Response<? extends Object> response) throws IOException
IOExceptionvoid sendVoidResponse()
throws IOException
IOExceptionvoid sendResponse(Object result) throws IOException
IOExceptionvoid sendError(int code,
String type,
String data)
throws IOException
IOExceptionvoid sendError(int code,
String type,
String message,
String data)
throws IOException
IOExceptionvoid sendError(Throwable e) throws IOException
IOExceptionSession getSession()
void startAsync()
boolean isNotification()
void sendError(ResponseError error) throws IOException
IOExceptionCopyright © 2017 Kurento. All rights reserved.