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 | Interface and Description |
---|---|
interface |
FilterFactory<F extends Filter<I,O>,I,O,H extends ConnectionHandler<?>>
Defines a factory for creating
Filter s. |
Modifier and Type | Interface and Description |
---|---|
interface |
OobFilter<I,O>
|
Modifier and Type | Class and Description |
---|---|
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 |
---|---|
static Filter<Element,ByteBuffer> |
XmlFilterFactory.newFilter()
Creates a new XML
Filter . |
Filter<ByteBuffer,ByteBuffer> |
FrameFilterFactory.newFilter(ConnectionHandler<?> handler) |
Filter<Element,ByteBuffer> |
XmlFilterFactory.newFilter(ConnectionHandler<?> handler) |
Modifier and Type | Method and Description |
---|---|
static <I,O> OobFilter<I,O> |
Filters.asOobFilter(Filter<I,O> filter)
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
SslFilter
|
Modifier and Type | Method and Description |
---|---|
Filter<T,Element> |
XmlHandler.newFilter(H handler) |
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. |
Modifier and Type | Method and Description |
---|---|
Filter<String,ByteBuffer> |
ClientServerTest.Utf8Handler.newFilter(ClientServerTest.Utf8Handler handler) |