All Packages Class Hierarchy This Package Previous Next Index
Class RoboComm.ConnectionHandler
java.lang.Object
|
+----RoboComm.ConnectionHandler
- public class ConnectionHandler
- extends Object
- implements Runnable
Manages the connection to a robot.
For more detailed information, see the
RoboComm page.
Copyright (c) 1998 Tucker Balch, all rights reserved.
- Version:
- $Revision: 1.2 $
- Author:
- Tucker Balch
-
ConnectionHandler(Socket, RoboComm)
- Set up to manage a socket.
-
die()
- Quit handling the client.
-
run()
- Thread to manage the socket.
-
send(Message)
- Send a message to the client.
ConnectionHandler
public ConnectionHandler(Socket s,
RoboComm ser)
- Set up to manage a socket.
- Parameters:
- s - Socket, the socket to listen to.
run
public void run()
- Thread to manage the socket.
die
public void die()
- Quit handling the client. Assume that we have been unregistered.
send
public void send(Message m)
- Send a message to the client.
- Parameters:
- m - Message, the message to send.
All Packages Class Hierarchy This Package Previous Next Index