packet.getAsByteBuffer().position(0);
packet.getAsByteBuffer().get(unkPacket.array(), 0,
packet.getAsByteBuffer().capacity());
Logger.getSingleton().logMessage(
"Exception in processing : \n"
+ byteToHexString(unkPacket.array(), " "));
}
}
private void processPacket(KadPacket packet)
throws UnknownPacketOPCodeException, CorruptedPacketException,