pyrasun.eio
Class AcceptingEndpoint

java.lang.Object
  extended bypyrasun.eio.Endpoint
      extended bypyrasun.eio.AcceptingEndpoint

public class AcceptingEndpoint
extends Endpoint

AcceptingEndpoint is a specific Endpoint object which accepts incoming connections and creates new Endpoints. Right now the only AcceptingEndpoint is a ServerSocketChannel.


Constructor Summary
AcceptingEndpoint(EndpointCoordinator coordinator, java.nio.channels.ServerSocketChannel nioChannel)
           
 
Method Summary
 java.nio.channels.SelectableChannel getNIOChannel()
          Get the NIO channel associated with this endpoint.
 
Methods inherited from class pyrasun.eio.Endpoint
addInterest, addProcessing, attach, attachment, close, close, close, close, close, configureBlocking, dumpProcessedStats, getContext, getCoordinator, getInterestEvents, getNIOInterestEvents, getProcessingEvents, getReadyEvents, getState, isAborted, isBlocking, isLockedForProcessing, isLockedReady, isOpen, isReady, isSelectorized, lockForEventManager, lockForProcessing, lockForReady, masksAsString, registerEventListener, removeInterest, removeProcessing, removeReadiness, reportReadError, reportWriteError, setName, setReadiness, setReadiness, toString, unlockProcessing, updateProcessedStats
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AcceptingEndpoint

public AcceptingEndpoint(EndpointCoordinator coordinator,
                         java.nio.channels.ServerSocketChannel nioChannel)
Method Detail

getNIOChannel

public java.nio.channels.SelectableChannel getNIOChannel()
Description copied from class: Endpoint
Get the NIO channel associated with this endpoint. This method is wicked and evil in a library that purports to be greater than just NIO

Specified by:
getNIOChannel in class Endpoint


Pyrasun EmberIO