org.jicarilla.net |
An implementation of a generic, multithreaded, non-blocking,
event-based Socket server.
|
Java Source File Name | Type | Comment |
Event.java | Class | Represents a request/response pair. |
EventFactory.java | Class | A Factory which generates Event instances. |
NoopChannelFactory.java | Class | A Factory which generates empty linked queues. |
SocketServer.java | Interface | Represents an object which listens on a socket. |
SocketServerConfig.java | Class | Encapsulation for the primitives of the SocketServerImpl
configuration. |
SocketServerException.java | Class | |
SocketServerImpl.java | Class | This is a basic New-I/O socket server.
On startup, a configurable number of threads is
created which listen for requests and delegate
them to the handler once basic parsing has been
done.
All other processing is then delegated to a handler
from the handler pool.
In case of any unusual failure, a fallback error
handler is used.
This is a mostly type-3-compatible IoC component with
two additional lifecycle methods: initialize() and
releaseInstance(). |