public Object readRemote() throws IOException {
  String type=readType();
  String url=readString();
  return resolveRemote(type,url);
}

public Object readRemote ( ) throws IOException { String type = readType ( ) ; String url = readString ( ) ; return resolveRemote ( type , url ) ; }
reads a remote object .
