|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.lang.Thread
|
+--GenericClient
| Field Summary | |
private static int |
clientNumber
|
protected boolean |
finished
|
protected java.io.InputStream |
in
|
protected MessageOutput |
messageOut
|
protected java.io.OutputStream |
out
|
protected Queue |
queue
|
protected java.util.Hashtable |
registry
|
| Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
| Constructor Summary | |
GenericClient(java.lang.String host,
int port,
java.lang.String name)
|
|
| Method Summary | |
protected void |
closedown()
|
protected void |
connect(java.lang.String host,
int port)
|
protected void |
demux()
|
void |
deregister(java.lang.String label)
|
protected void |
logon(java.lang.String name)
|
private static int |
nextClientNum()
|
void |
register(java.lang.String label,
Client client)
|
void |
run()
|
void |
shutdown()
|
| Methods inherited from class java.lang.Thread |
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
private static int clientNumber
protected Queue queue
protected java.util.Hashtable registry
protected MessageOutput messageOut
protected java.io.InputStream in
protected java.io.OutputStream out
protected boolean finished
| Constructor Detail |
public GenericClient(java.lang.String host,
int port,
java.lang.String name)
throws java.io.IOException
| Method Detail |
private static int nextClientNum()
protected void connect(java.lang.String host,
int port)
throws java.io.IOException
protected void logon(java.lang.String name)
throws java.io.IOException
public void shutdown()
throws java.io.IOException
public void run()
protected void demux()
throws java.io.IOException
protected void closedown()
public void register(java.lang.String label,
Client client)
public void deregister(java.lang.String label)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||