All Packages Class Hierarchy This Package Previous Next Index
Class pinball.server.MyClient
java.lang.Object
|
+----pinball.server.Network
|
+----pinball.server.MyClient
- public class MyClient
- extends Network
Client for sending data over the network.
-
MyClient()
- Setup the socket.
-
MyClient(BufferedReader, PrintWriter)
- Setup the client with pre-exisiting streams.
-
MyClient(String, int)
- Setup the socket.
-
dataSocket()
- Get the data socket.
-
establish()
- Establish a connection.
-
port()
-
MyClient
public MyClient()
- Setup the socket.
MyClient
public MyClient(String host,
int port)
- Setup the socket.
MyClient
public MyClient(BufferedReader in,
PrintWriter out)
- Setup the client with pre-exisiting streams.
establish
public void establish()
- Establish a connection.
port
public int port()
dataSocket
public Socket dataSocket()
- Get the data socket.
- Returns:
- the data socket.
All Packages Class Hierarchy This Package Previous Next Index