@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<ConnectionFactory> |
getConnectionFactories() |
<T extends ConnectionFactory> |
getConnectionFactory(Class<T> factoryType) |
ConnectionFactory |
getConnectionFactory(String nextProtocol) |
ConnectionFactory |
getDefaultConnectionFactory() |
Executor |
getExecutor() |
long |
getIdleTimeout() |
List<String> |
getProtocols() |
Scheduler |
getScheduler() |
Server |
getServer() |
Object |
getTransport() |
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
ByteBufferPool getByteBufferPool()
ByteBufferPool
to acquire buffers from and release buffers toConnectionFactory getConnectionFactory(String nextProtocol)
ConnectionFactory
associated with the protocol name<T extends ConnectionFactory> 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()
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.