// when this method is invoked, stream the method name to the
// skeleton
ObjectOutputStream outStream
= new ObjectOutputStream(socket.getOutputStream());
outStream.writeObject("age");
outStream.flush();
ObjectInputStream inStream = new
ObjectInputStream(socket.getInputStream());
return inStream.readInt();