Class ClientProtocol

java.lang.Object
com.sparshui.common.ClientProtocol
Direct Known Subclasses:
ClientToServerProtocol, ServerToClientProtocol

public abstract class ClientProtocol extends Object
The abstract class for the client protocol that defines members common to both the server-side and client-side protocols.
Author:
Tony Ross
  • Field Details

  • Constructor Details

    • ClientProtocol

      public ClientProtocol(Socket socket) throws IOException
      Create a new ClientProtocol object.
      Parameters:
      socket - The socket that has been opened.
      Throws:
      IOException - If there is a communication error.