@ManagedObject(value="Connector Interface") public interface Connector extends LifeCycle, Container, Graceful
A Connector accept connections and data from remote peers,
and allows applications to send data to remote peers, by setting up
the machinery needed to handle such tasks.
LifeCycle.ListenerContainer.InheritedListener, Container.ListenerGraceful.Shutdown| Modifier and Type | Method and Description |
|---|---|
ByteBufferPool |
getByteBufferPool() |
Collection<EndPoint> |
getConnectedEndPoints() |
Collection<ConnectionFactory> |
getConnectionFactories() |
<T> T |
getConnectionFactory(Class<T> factoryType) |
ConnectionFactory |
getConnectionFactory(String nextProtocol) |
ConnectionFactory |
getDefaultConnectionFactory() |
Executor |
getExecutor() |
long |
getIdleTimeout() |
String |
getName()
Get the connector name if set.
|
List<String> |
getProtocols() |
Scheduler |
getScheduler() |
Server |
getServer() |
Object |
getTransport() |
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stopaddBean, addBean, addEventListener, getBean, getBeans, getBeans, getContainedBeans, isManaged, manage, removeBean, removeEventListener, unmanageisShutdown, shutdownByteBufferPool getByteBufferPool()
ByteBufferPool to acquire buffers from and release buffers toConnectionFactory getConnectionFactory(String nextProtocol)
nextProtocol - the next protocolConnectionFactory associated with the protocol name<T> T getConnectionFactory(Class<T> factoryType)
ConnectionFactory getDefaultConnectionFactory()
ConnectionFactory associated with the default protocol nameCollection<ConnectionFactory> getConnectionFactories()
@ManagedAttribute(value="maximum time a connection can be idle before being closed (in ms)") long getIdleTimeout()
Object getTransport()
Collection<EndPoint> getConnectedEndPoints()
String getName()
A ContextHandler may be configured with
virtual hosts in the form "@connectorName" and will only serve
requests from the named connector.
Copyright © 2010 - 2020 Adobe. All Rights Reserved