org.mortbay.jetty.nio
Class SelectChannelConnector.ConnectorEndPoint

java.lang.Object
  extended by org.mortbay.io.nio.ChannelEndPoint
      extended by org.mortbay.io.nio.SelectChannelEndPoint
          extended by org.mortbay.jetty.nio.SelectChannelConnector.ConnectorEndPoint
All Implemented Interfaces:
Runnable, EndPoint
Enclosing class:
SelectChannelConnector

public static class SelectChannelConnector.ConnectorEndPoint
extends SelectChannelEndPoint


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mortbay.io.nio.SelectChannelEndPoint
SelectChannelEndPoint.IdleTask
 
Field Summary
 
Fields inherited from class org.mortbay.io.nio.SelectChannelEndPoint
_connection, _dispatched, _interestOps, _key, _manager, _readBlocked, _selectSet, _writable, _writeBlocked
 
Fields inherited from class org.mortbay.io.nio.ChannelEndPoint
_channel, _gather2, _gather3, _local, _remote, _socket
 
Constructor Summary
SelectChannelConnector.ConnectorEndPoint(SocketChannel channel, SelectorManager.SelectSet selectSet, SelectionKey key)
           
 
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, setWritable, toString
 
Methods inherited from class org.mortbay.io.nio.ChannelEndPoint
fill, flush, getChannel, getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isBlocking, isBufferingInput, isBufferingOutput, isBufferred
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectChannelConnector.ConnectorEndPoint

public SelectChannelConnector.ConnectorEndPoint(SocketChannel channel,
                                                SelectorManager.SelectSet selectSet,
                                                SelectionKey key)
Method Detail

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