Class Client

java.lang.Object
preponderous.ponder.networking.abs.Client

public abstract class Client extends Object
  • Constructor Details

    • Client

      public Client(String host, int port)
  • Method Details

    • sendAndReceive

      public String sendAndReceive(String s)
    • sendStringToServer

      public void sendStringToServer(String s)
    • getStringFromServer

      public String getStringFromServer()
    • disconnect

      public void disconnect()
    • getHost

      public String getHost()
    • getPort

      public int getPort()
    • getSocket

      public Socket getSocket()
    • setSocket

      public void setSocket(Socket socket)
    • getOut

      public PrintWriter getOut()
    • setOut

      public void setOut(PrintWriter out)
    • getIn

      public BufferedReader getIn()
    • setIn

      public void setIn(BufferedReader in)