Package kilim.examples
Class Ping.Server
- java.lang.Object
-
- kilim.Task
-
- kilim.nio.SessionTask
-
- kilim.examples.Ping.Server
-
- All Implemented Interfaces:
java.lang.Runnable,EventSubscriber,Fiber.Worker
- Enclosing class:
- Ping
public static class Ping.Server extends SessionTask
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
endpoint
-
Fields inherited from class kilim.Task
done, exitResult, fiber, id, pauseReason, running, scheduler, timer
-
-
Constructor Summary
Constructors Constructor Description Server()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()static voidsrun()-
Methods inherited from class kilim.nio.SessionTask
close
-
Methods 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
-
-