Class ClientProtocol
java.lang.Object
com.sparshui.common.ClientProtocol
- Direct Known Subclasses:
ClientToServerProtocol, ServerToClientProtocol
The abstract class for the client protocol that defines members
common to both the server-side and client-side protocols.
- Author:
- Tony Ross
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DataInputStreamprotected DataOutputStreamprotected Socket -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
_socket
-
_in
-
_out
-
-
Constructor Details
-
ClientProtocol
Create a new ClientProtocol object.- Parameters:
socket- The socket that has been opened.- Throws:
IOException- If there is a communication error.
-