Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS

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


Field Summary
static java.lang.String  disconnect
 
java.net.DatagramPacket  packet
 
java.net.InetAddress  the_address
 
int  the_port
 
java.net.DatagramSocket  the_socket
 
 

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, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ClientStatusThread

public ClientStatusThread(java.net.DatagramSocket in_socket,
                          java.net.InetAddress con_address,
                          int con_port)
Method Detail

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()
Implements:
run in interface java.lang.Runnable

Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS