public interface ResponseChannel
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the channel and releases any resources.
|
void |
write(ResponseEnvelope envelope)
Writes the response envelope to the channel.
|
void write(ResponseEnvelope envelope) throws ResponseChannelException
envelope - the response envelope to writeResponseChannelException - if writing failsvoid close()