TaskTransportChannel, TcpTransportChannelpublic interface TransportChannel
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getChannelType() |
|
java.lang.String |
getProfileName() |
|
default Version |
getVersion() |
Returns the version of the other party that this channel will send a response to.
|
void |
sendResponse(java.lang.Exception exception) |
|
void |
sendResponse(TransportResponse response) |
|
void |
sendResponse(TransportResponse response,
TransportResponseOptions options) |
java.lang.String getProfileName()
java.lang.String getChannelType()
void sendResponse(TransportResponse response) throws java.io.IOException
java.io.IOExceptionvoid sendResponse(TransportResponse response, TransportResponseOptions options) throws java.io.IOException
java.io.IOExceptionvoid sendResponse(java.lang.Exception exception)
throws java.io.IOException
java.io.IOExceptiondefault Version getVersion()