|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--org.kaariboga.core.KaaribogaBase.ReceiveMessageThread
Handles a messages incoming through a socket connection. It the message contains an agent it initializes it and puts it to the kaariboga list.
Field Summary | |
private java.net.InetAddress |
address
|
private Kaariboga |
agent
|
private KaaribogaBase |
base
|
private KaaribogaMessage |
message
|
private KaaribogaMessage |
outMessage
|
private java.net.Socket |
socket
|
Fields inherited from class java.lang.Thread |
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ |
Constructor Summary | |
KaaribogaBase.ReceiveMessageThread(KaaribogaBase b,
java.net.Socket socket)
Creates a new Thread to receive a message. |
Method Summary | |
void |
run()
Just handles the incoming message. |
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 java.net.Socket socket
private KaaribogaBase base
private KaaribogaMessage message
private KaaribogaMessage outMessage
private java.net.InetAddress address
private Kaariboga agent
Constructor Detail |
public KaaribogaBase.ReceiveMessageThread(KaaribogaBase b, java.net.Socket socket)
b
- The KaaribogaBase of this thread.socket
- Socket of the incoming connection.Method Detail |
public void run()
run
in class java.lang.Thread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |