Package com.github.xgameenginee.core

Examples of com.github.xgameenginee.core.ProtocolCoder.encode()


            throw new IllegalStateException("write bytes not be filled full! type = " + buffer.getChannelBuffer().getShort(2));
        }

        ProtocolCoder coder = GameBoss.getInstance().getProtocolCoder();
        if (coder != null) {
            coder.encode(buffer.getChannelBuffer().array(), GameBoss.getInstance().getWriteHeaderSize());
        }
        channel.write(buffer.getChannelBuffer());
    }

    @Override
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.