public Object readMap(AbstractHessianInput in)
    throws IOException
  {
    String name = null;
    String type = null;
    String description = null;
    MBeanParameterInfo []sig = null;
    int impact = 0;
    
    while (! in.isEnd()) {
      String key = in.readString();

      if ("name".equals(key))
	name = in.readString();
      else if ("description".equals(key))
	description = in.readString();
      else if ("type".equals(key))
	type = in.readString();
      else if ("impact".equals(key))
	impact = in.readInt();
      else if ("signature".equals(key)) {
	sig = (MBeanParameterInfo[]) in.readObject(MBeanParameterInfo[].class);
      }
      else {
	in.readObject();
      }
    }

    in.readMapEnd();

    try {
      MBeanOperationInfo info;

      info = new MBeanOperationInfo(name, description, sig, type, impact);
      
      return info;
    } catch (Exception e) {
      throw new IOException(String.valueOf(e));
    }
  }