public interface IAcceptor extends IContainer<IConnector>, Closeable
client
connectors
and creates
the appropriate server
connectors.
Since the process of accepting connection requests is heavily dependent on the implementation of the respective connectors the only public API is introspection and notification.
This interface is not intended to be implemented by clients. Service providers must extend the abstract
Acceptor
class.
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
Modifier and Type | Method and Description |
---|---|
IConnector[] |
getAcceptedConnectors()
Returns an array of the connectors that have been accepted by this acceptor and not been closed since.
|
getElements, isEmpty
addListener, getListeners, hasListeners, removeListener
IConnector[] getAcceptedConnectors()
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.