Advertisement
Guest User

RunClient.java

a guest
Jun 19th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. import java.io.IOException;
  2. import java.io.ObjectOutputStream;
  3.  
  4. public class RunClient {
  5.     public static void main(String[] args) throws IOException {
  6.         Client client = new Client("localhost");
  7.         ObjectOutputStream out = client.getOut();
  8.         out.writeObject("client sending");
  9.         out.flush();
  10.         CommandListener cl = client.getCL();
  11.         cl.run();
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement