|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AggregateLifeCycle
org.eclipse.jetty.server.AbstractConnector
org.eclipse.jetty.server.nio.AbstractNIOConnector
org.eclipse.jetty.server.nio.SelectChannelConnector
org.eclipse.jetty.server.nio.NetworkTrafficSelectChannelConnector
public class NetworkTrafficSelectChannelConnector
A specialized version of SelectChannelConnector that supports NetworkTrafficListeners.
NetworkTrafficListeners can be added and removed dynamically before and after this connector has
been started without causing ConcurrentModificationExceptions.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener |
| Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
org.eclipse.jetty.util.component.LifeCycle.Listener |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jetty.server.nio.SelectChannelConnector |
|---|
_acceptChannel |
| Fields inherited from class org.eclipse.jetty.server.AbstractConnector |
|---|
_buffers, _lowResourceMaxIdleTime, _maxIdleTime, _soLingerTime |
| Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
| Constructor Summary | |
|---|---|
NetworkTrafficSelectChannelConnector()
|
|
| Method Summary | |
|---|---|
void |
addNetworkTrafficListener(org.eclipse.jetty.io.NetworkTrafficListener listener)
|
protected void |
endPointClosed(org.eclipse.jetty.io.nio.SelectChannelEndPoint endpoint)
|
protected org.eclipse.jetty.io.nio.SelectChannelEndPoint |
newEndPoint(SocketChannel channel,
org.eclipse.jetty.io.nio.SelectorManager.SelectSet selectSet,
SelectionKey key)
|
void |
removeNetworkTrafficListener(org.eclipse.jetty.io.NetworkTrafficListener listener)
|
| Methods inherited from class org.eclipse.jetty.server.nio.SelectChannelConnector |
|---|
accept, close, customize, doStart, getConnection, getLocalPort, getLowResourcesConnections, getLowResourcesMaxIdleTime, getSelectorManager, newConnection, open, persist, setLowResourcesConnections, setLowResourcesMaxIdleTime, setMaxIdleTime |
| Methods inherited from class org.eclipse.jetty.server.nio.AbstractNIOConnector |
|---|
getUseDirectBuffers, setUseDirectBuffers |
| Methods inherited from class org.eclipse.jetty.util.component.AggregateLifeCycle |
|---|
addBean, addBean, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage |
| Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| Methods inherited from interface org.eclipse.jetty.util.component.Dumpable |
|---|
dump, dump |
| Constructor Detail |
|---|
public NetworkTrafficSelectChannelConnector()
| Method Detail |
|---|
public void addNetworkTrafficListener(org.eclipse.jetty.io.NetworkTrafficListener listener)
listener - the listener to addpublic void removeNetworkTrafficListener(org.eclipse.jetty.io.NetworkTrafficListener listener)
listener - the listener to remove
protected org.eclipse.jetty.io.nio.SelectChannelEndPoint newEndPoint(SocketChannel channel,
org.eclipse.jetty.io.nio.SelectorManager.SelectSet selectSet,
SelectionKey key)
throws IOException
newEndPoint in class SelectChannelConnectorIOExceptionprotected void endPointClosed(org.eclipse.jetty.io.nio.SelectChannelEndPoint endpoint)
endPointClosed in class SelectChannelConnector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||