All Packages Class Hierarchy This Package Previous Next Index
Class KQMLLayer.KQMLServerThread
Abstract.Connection
|
+----Abstract.ServerThread
|
+----BaseLayer.BServerThread
|
+----KQMLLayer.KQMLServerThread
- public class KQMLServerThread
- extends BServerThread
KQMLServerThread is a thread which accept() connection from the other
agents. Then it will generate KQMLRecvThread to listen and send message
- See Also:
- KQMLRecvThread, BServerThread
-
KQMLServerThread()
- Default constructor
-
KQMLServerThread(Address, ConnectionTable, MessageBuffer, Security)
- Constructor using Address object
-
createReceiverThread(Socket)
- Create receiver thread using the socket, accepted by the 'run()' method.
KQMLServerThread
public KQMLServerThread()
- Default constructor
KQMLServerThread
public KQMLServerThread(Address address,
ConnectionTable connections,
MessageBuffer mesg,
Security security) throws ConnectionException, UnknownHostException, IOException
- Constructor using Address object
- Parameters:
- address - Address object which contains port number
- connections - connection table
- mesg - the message queue
- security - Security object to be used to check connection protocol
createReceiverThread
protected synchronized void createReceiverThread(Socket socket)
- Create receiver thread using the socket, accepted by the 'run()' method.
- Parameters:
- socket - Socket, accepted by the ServerSocket
- Throws: ConnectionException
- if occurs
All Packages Class Hierarchy This Package Previous Next Index