oops
This commit is contained in:
parent
ad73cda941
commit
154a55e961
|
@ -31,8 +31,8 @@ public class WebSocketNetworkManager extends WebSocketServlet {
|
||||||
}
|
}
|
||||||
|
|
||||||
@OnWebSocketMessage
|
@OnWebSocketMessage
|
||||||
public void onMessage(byte[] data, int offset, int length) {
|
public void onMessage(Session session, byte[] data, int offset, int length) {
|
||||||
ByteBuffer buffer = ByteBuffer.wrap(data, offset, length);
|
ByteBuffer buffer = ByteBuffer.wrap(data);
|
||||||
receivedBuffers.add(buffer);
|
receivedBuffers.add(buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user