Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TestListener implements RawDataListener {
- @Override
- public void handlePayload(ChannelBuf data, RemoteConnection connection, Platform.Type side) {
- if (!(connection instanceof PlayerConnection)) {
- return;
- }
- System.out.println("received");
- System.out.println(data.readUTF());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement