public interface ReadHandler
An implementation of this interface is created by tyrus runtime. Once a
transport completes a successful upgrade for a connection, the transport
can get hold of the handler using Connection.getReadHandler().
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ByteBuffer data)
A transport reads websocket data and invokes this method to handover
websocket data for a connection to tyrus runtime.
|
void handle(ByteBuffer data)
data - websocket data of a connection.Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.