org.mortbay.jetty.nio
Class SelectChannelConnector.ConnectorEndPoint
java.lang.Object
org.mortbay.io.nio.ChannelEndPoint
org.mortbay.io.nio.SelectChannelEndPoint
org.mortbay.jetty.nio.SelectChannelConnector.ConnectorEndPoint
- All Implemented Interfaces:
- Runnable, EndPoint
- Enclosing class:
- SelectChannelConnector
public static class SelectChannelConnector.ConnectorEndPoint
- extends SelectChannelEndPoint
Method Summary |
void |
close()
Close any backing stream associated with the buffer |
void |
undispatch()
Called when a dispatched thread is no longer handling the endpoint. |
Methods inherited from class org.mortbay.io.nio.SelectChannelEndPoint |
blockReadable, blockWritable, cancelIdle, dispatch, flush, flush, getConnection, getSelectSet, getTimeoutTask, idleExpired, isOpen, run, scheduleIdle, syncKey, toString |
Methods inherited from class org.mortbay.io.nio.ChannelEndPoint |
fill, flush, getChannel, getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isBlocking, isBufferingInput, isBufferingOutput, isBufferred |
SelectChannelConnector.ConnectorEndPoint
public SelectChannelConnector.ConnectorEndPoint(SocketChannel channel,
SelectorManager.SelectSet selectSet,
SelectionKey key)
close
public void close()
throws IOException
- Description copied from interface:
EndPoint
- Close any backing stream associated with the buffer
- Specified by:
close
in interface EndPoint
- Overrides:
close
in class SelectChannelEndPoint
- Throws:
IOException
undispatch
public void undispatch()
- Description copied from class:
SelectChannelEndPoint
- Called when a dispatched thread is no longer handling the endpoint. The selection key
operations are updated.
- Overrides:
undispatch
in class SelectChannelEndPoint