consumerID = in.readInt();
serverId = in.readInt();  consumerId = in.readInt();
   public void read(DataInputStream in) throws Exception   {      consumerID = in.readInt();            int numMessages = in.readInt();            msgs = new ArrayList(numMessages);            for (int i = 0; i < numMessages; i++)      {         byte type = in.readByte();                  int deliveryCount = in.readInt();                  JBossMessage m = (JBossMessage)MessageFactory.createMessage(type);         m.read(in);         MessageProxy md = JBossMessage.createThinDelegate(m, deliveryCount);                  msgs.add(md);      }         }