Package kilim.examples
Class Ping.Server
java.lang.Object
kilim.Task
kilim.nio.SessionTask
kilim.examples.Ping.Server
- All Implemented Interfaces:
Runnable,EventSubscriber,Fiber.Worker
- Enclosing class:
Ping
Server is a SessionTask, which means an instance of it is created by the
NioSelectorScheduler on an incoming connection.
The task contains an endpoint object, the bridge between the NIO system
and Kilim's scheduling.
-
Nested Class Summary
Nested classes/interfaces inherited from class kilim.Task
Task.Fork, Task.Invoke<TT>, Task.Spawn<TT> -
Field Summary
Fields inherited from class kilim.nio.SessionTask
endpointFields inherited from class kilim.Task
done, exitResult, fiber, id, pauseReason, running, scheduler, timer -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class kilim.nio.SessionTask
closeMethods inherited from class kilim.Task
checkKill, dump, equals, errNotWoven, errNotWoven, errorExit, errorExit, execute, exit, exit, fork, getCurrentTask, getExecutionThread, getPauseReason, getScheduler, getStackDepth, getState, getTid, hashCode, id, idledown, informOnExit, invoke, isDone, join, joinb, onEvent, pause, pause, pinToThread, prePin, resume, resumeOnScheduler, run, setPauseReason, setScheduler, setTid, shutdown, sleep, spawn, spawn, start, toString, unpinFromThread, yield, yield
-
Constructor Details
-
Server
public Server()
-
-
Method Details
-
srun
- Throws:
IOException
-
execute
-