private void parsePacket(byte[] data, InetAddress address, int port) {
        String message = new String(data).trim();
        Packets type = PacketUtils.getPacketByID(Integer.parseInt((message.substring(0, 2))));
        Packets packet = null;
        switch (type) {
       
        case INXPAMOUNT:
        	packet = Packets.INXPAMOUNT;
            break;
        case INDONOR:
        		packet = Packets.INDONOR;
            break;
        case TEST:
        		packet = Packets.TEST;
            break;
        default:
        	packet = Packets.UNKNOWN;
        	break;
        }
    }