@ManagedObject(value="Connector Interface") public interface Connector extends LifeCycle, 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.Listener| 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, stopByteBufferPool getByteBufferPool()
ByteBufferPool to acquire buffers from and release buffers toConnectionFactory getConnectionFactory(String nextProtocol)
ConnectionFactory 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 © 1995-2015 Webtide. All Rights Reserved.