public interface DirectChannelAccess
Channel
.
Use of this type is discouraged.
It exists to provide low level integration with Netty for extra protocols to build on, such as the WebSockets
support.
Modifier and Type | Method and Description |
---|---|
Channel |
getChannel()
The channel.
|
void |
takeOwnership(Action<Object> messageReceiver)
Signals that Ratpack should no longer manage this channel.
|
Channel getChannel()
void takeOwnership(Action<Object> messageReceiver)
All future messages received over the channel will be given to the provided action. It is the caller of this method's responsibility for closing the channel after it is finished.
messageReceiver
- the responder to channel messages.