Package net.glowstone.net.message.handshake

Examples of net.glowstone.net.message.handshake.HandshakeMessage


        final int version = ByteBufUtils.readVarInt(buffer);
        final String address = ByteBufUtils.readUTF8(buffer);
        final int port = buffer.readUnsignedShort();
        final int state = ByteBufUtils.readVarInt(buffer);

        return new HandshakeMessage(version, address, port, state);
    }
View Full Code Here

TOP

Related Classes of net.glowstone.net.message.handshake.HandshakeMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.