network bug workaround test
This commit is contained in:
parent
f6b2fdf422
commit
41fae1317f
4 changed files with 13 additions and 2 deletions
|
@ -22,7 +22,7 @@ public class PacketEncoder extends MessageToByteEncoder<Packet>
|
|||
|
||||
// if (Log.isTraceEnabled())
|
||||
// {
|
||||
// Log.debug("AUS: [" + p_encode_1_.channel().attr(NetConnection.ATTR_STATE).get() + ":" + integer + "] " + p_encode_2_.getClass().getName());
|
||||
// Log.SYSTEM.debug("AUS: [" + p_encode_1_.channel().attr(NetConnection.ATTR_STATE).get() + ":" + integer + "] " + p_encode_2_.getClass().getName());
|
||||
// }
|
||||
|
||||
if (integer == null)
|
||||
|
|
|
@ -10,9 +10,11 @@ public class LPacketLogin implements Packet<ILoginHandler> {
|
|||
}
|
||||
|
||||
public void readPacketData(PacketBuffer buf) throws IOException {
|
||||
buf.readStringFromBuffer(16);
|
||||
}
|
||||
|
||||
public void writePacketData(PacketBuffer buf) throws IOException {
|
||||
buf.writeString("TESTtestPlceHldr");
|
||||
}
|
||||
|
||||
public void processPacket(ILoginHandler handler) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue