Package | Description |
---|---|
org.shared.event |
A framework for event-driven programming.
|
org.shared.net.nio |
A package for managed connections built on top of
java.nio . |
org.shared.test.net |
A suite of tests for asynchronous networking.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
StateTable.StateHandler.handle(EnumStatus<X> state,
Z evt)
Handles an
Event . |
void |
StateTable.lookup(EnumStatus<X> stateObj,
Z evt)
Looks up and handles an
Event based on the current state and the event type. |
Modifier and Type | Class and Description |
---|---|
class |
NioConnection
An abstract asynchronous sockets class internally managed by
NioManager . |
class |
NioManagerDispatchThread
A specialized
NioManagerThread that dispatches newly created connections to NioManagerIoThread s. |
class |
NioManagerIoThread
A specialized
NioManagerThread that reads from and writes to connections. |
class |
NioManagerThread
An abstract base class for
NioManager service threads. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTestVerifier<T extends Event<T,TestXmlEvent.TestXmlEventType,SourceType>>
An implementation of
SourceLocal that serves as a base class for checking the contents of incoming events
against their expected values. |
protected static class |
AbstractTestVerifier.AbstractReceiverVerifier<T extends Event<T,TestXmlEvent.TestXmlEventType,SourceType>>
A subclass of
AbstractTestVerifier that maintains receiver state. |
protected static class |
AbstractTestVerifier.AbstractSenderVerifier<T extends Event<T,TestXmlEvent.TestXmlEventType,SourceType>>
A subclass of
AbstractTestVerifier that maintains sender state. |
protected static class |
TestXmlEvent.ReceiverXmlVerifier
An instantiation of
AbstractTestVerifier.AbstractReceiverVerifier . |
protected static class |
TestXmlEvent.SenderXmlVerifier
An instantiation of
AbstractTestVerifier.AbstractSenderVerifier . |