Class mil.navy.nps.bridge.ClientStatusThread
java.lang.Object
|
+--mil.navy.nps.bridge.ClientStatusThread
- class ClientStatusThread
- extends java.lang.Object
- implements java.lang.Runnable
the client status thread class which monitors keyboard input for client
command to dissconnect from server
Constructor Summary
|
ClientStatusThread(java.net.DatagramSocket in_socket,
java.net.InetAddress con_address,
int con_port)
|
Method Summary
|
void
|
run()
|
void
|
setAddress(java.net.InetAddress temp_address)
|
void
|
setPort(int temp_port)
|
void
|
setSocket(java.net.DatagramSocket temp_socket)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
disconnect
static java.lang.String disconnect
packet
java.net.DatagramPacket packet
the_socket
java.net.DatagramSocket the_socket
the_address
java.net.InetAddress the_address
the_port
int the_port
ClientStatusThread
public ClientStatusThread(java.net.DatagramSocket in_socket,
java.net.InetAddress con_address,
int con_port)
setSocket
void setSocket(java.net.DatagramSocket temp_socket)
setAddress
void setAddress(java.net.InetAddress temp_address)
setPort
void setPort(int temp_port)
run
public void run()
- Description copied from interface:
- Specified by:
- run() in interface java.lang.Runnable