TransportChannelpublic class TaskTransportChannel extends java.lang.Object implements TransportChannel
| Modifier and Type | Method | Description |
|---|---|---|
TransportChannel |
getChannel() |
|
java.lang.String |
getChannelType() |
|
java.lang.String |
getProfileName() |
|
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) |
public java.lang.String getProfileName()
getProfileName in interface TransportChannelpublic java.lang.String getChannelType()
getChannelType in interface TransportChannelpublic void sendResponse(TransportResponse response) throws java.io.IOException
sendResponse in interface TransportChanneljava.io.IOExceptionpublic void sendResponse(TransportResponse response, TransportResponseOptions options) throws java.io.IOException
sendResponse in interface TransportChanneljava.io.IOExceptionpublic void sendResponse(java.lang.Exception exception)
throws java.io.IOException
sendResponse in interface TransportChanneljava.io.IOExceptionpublic Version getVersion()
TransportChannelgetVersion in interface TransportChannelpublic TransportChannel getChannel()