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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html