|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebSocketByteListener
A WebSocketListener for bytes
| Method Summary | |
|---|---|
void |
onFragment(byte[] fragment,
boolean last)
Invoked when bytes of a fragmented message are available. |
void |
onMessage(byte[] message)
Invoked when bytes are available. |
| Methods inherited from interface com.ning.http.client.websocket.WebSocketListener |
|---|
onClose, onError, onOpen |
| Method Detail |
|---|
void onMessage(byte[] message)
message - a byte array.
void onFragment(byte[] fragment,
boolean last)
fragment - byte[] fragment.last - if this fragment is the last in the series.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||