public interface TransportChannel
Modifier and Type | Method and Description |
---|---|
java.lang.String |
action() |
java.lang.String |
getChannelType() |
java.lang.String |
getProfileName() |
long |
getRequestId() |
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 action()
java.lang.String getProfileName()
long getRequestId()
java.lang.String getChannelType()
void sendResponse(TransportResponse response) throws java.io.IOException
java.io.IOException
void sendResponse(TransportResponse response, TransportResponseOptions options) throws java.io.IOException
java.io.IOException
void sendResponse(java.lang.Exception exception) throws java.io.IOException
java.io.IOException
default Version getVersion()