Class semper.SemperClient.SCDaemon
All Packages Class Hierarchy This Package Previous Next Index
Class semper.SemperClient.SCDaemon
java.lang.Object
|
+----java.lang.Thread
|
+----semper.SemperClient.SCDaemon
- public class SCDaemon
- extends Thread
- implements SCTaskControl
SCDaemon implements a handler for client-server
connection requests
- Author:
- Kostas Tzelepis, Petros Pantis
-
clientsocket
-
-
SCDaemon(ServerSocket, SCTimer)
- SCDaemon object constructor
-
GetFlags()
-
-
GetID()
-
-
GetObj()
-
-
GetStatus()
-
-
Handler(Object)
-
-
Notify()
-
-
run()
- This method blocks until a new connection request is arived.
-
SetID(int)
-
-
SetPriority(int)
-
-
SetStatus()
-
-
Stop()
-
clientsocket
public Socket clientsocket
SCDaemon
public SCDaemon(ServerSocket sock,
SCTimer mo)
- SCDaemon object constructor
- Parameters:
- sock - the ServerSocket object
- mo - the Monitor Timer object
run
public void run()
- This method blocks until a new connection request is arived.
After that the socket object will be returned to the SCTimer
- Overrides:
- run in class Thread
- See Also:
- WakeUp
Notify
public void Notify()
GetFlags
public int GetFlags()
SetPriority
public void SetPriority(int prio)
SetID
public void SetID(int id)
GetID
public int GetID()
Stop
public void Stop()
Handler
public void Handler(Object pObj)
GetStatus
public int GetStatus()
SetStatus
public void SetStatus()
GetObj
public Object GetObj()
All Packages Class Hierarchy This Package Previous Next Index