Package org.huihoo.willow.client

Examples of org.huihoo.willow.client.ServiceContext


  {
    Socket socket=new Socket("localhost",2126);
    BufferedInputStream bis = new BufferedInputStream(socket.getInputStream());
    ObjectInputStream in = new ObjectInputStream(bis);
    MarshalledObject stub = (MarshalledObject) in.readObject();
    ServiceContext server = (ServiceContext) stub.get();
   
    System.err.println("server="+server);
    socket.close();
  }
View Full Code Here

TOP

Related Classes of org.huihoo.willow.client.ServiceContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.