out.writeObject(txInfo);
out.writeObject(state);
   public void writeExternal(ObjectOutput out) throws IOException   {      out.writeInt(requestType);      out.writeObject(xid);      out.writeObject(txInfo);   }