Package | Description |
---|---|
org.shared.net.filter |
A package of networking I/O filters.
|
org.shared.net.filter.ssl |
A package for filter-based SSL/TLS transport.
|
org.shared.net.handler |
A package of
ConnectionHandler implementations. |
org.shared.test.net |
A suite of tests for asynchronous networking.
|
Modifier and Type | Class and Description |
---|---|
class |
ChainFilterFactory<I,O,H extends ConnectionHandler<?>>
An implementation of
FilterFactory that enables chaining of multiple underlying FilterFactory s. |
class |
FrameFilterFactory
|
class |
IdentityFilterFactory<T>
An implementation of
FilterFactory that creates identity filters, which simply pull values off of the input
queue and push them onto the output queue. |
class |
XmlFilterFactory
An implementation of
FilterFactory for reading and writing XML DOM Element s. |
Modifier and Type | Method and Description |
---|---|
<T> ChainFilterFactory<T,O,H> |
ChainFilterFactory.add(FilterFactory<? extends Filter<T,? super I>,T,? super I,? super H> factory)
Adds the given
FilterFactory to the end of this chain. |
Constructor and Description |
---|
ChainFilterFactory(FilterFactory<? extends Filter<?,?>,?,?,? super H>[] factories,
FilterFactory<? extends Filter<I,?>,I,?,? super H> factory)
Internal constructor.
|
ChainFilterFactory(FilterFactory<? extends Filter<?,?>,?,?,? super H>[] factories,
FilterFactory<? extends Filter<I,?>,I,?,? super H> factory)
Internal constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
SslFilterFactory
An implementation of
FilterFactory that creates SslFilter s. |
Modifier and Type | Class and Description |
---|---|
class |
XmlHandler<H extends XmlHandler<H,C,T,S>,C extends Connection,T extends XmlEvent<T,?,S>,S extends Enum<S>>
A null-terminated packet protocol for reading and writing
XmlEvent s. |
Modifier and Type | Method and Description |
---|---|
H |
FilteredHandler.setFilterFactory(FilterFactory<? extends Filter<T,ByteBuffer>,T,ByteBuffer,? super H> filterFactory)
Sets the
FilterFactory from which appropriate Filter s will be derived. |
H |
AbstractFilteredHandler.setFilterFactory(FilterFactory<? extends Filter<T,ByteBuffer>,T,ByteBuffer,? super H> filterFactory) |
Modifier and Type | Class and Description |
---|---|
protected static class |
ClientServerTest.Utf8Handler
An internal
Connection class for demo purposes. |
class |
TestXmlHandler
A subclass of
XmlHandler for testing purposes. |