com.caucho.network.listen
Class SocketPollService

java.lang.Object
  extended by com.caucho.env.service.AbstractResinSubSystem
      extended by com.caucho.network.listen.SocketPollService
All Implemented Interfaces:
ResinSubSystem
Direct Known Subclasses:
ProSocketPollService

public class SocketPollService
extends AbstractResinSubSystem

The socket poll service, provides nio-style socket listening.


Field Summary
static int START_PRIORITY
           
 
Fields inherited from interface com.caucho.env.service.ResinSubSystem
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER
 
Constructor Summary
SocketPollService()
           
 
Method Summary
static SocketPollService createAndAddService()
           
static SocketPollService getCurrent()
           
static AbstractSelectManager getCurrentSelectManager()
           
 AbstractSelectManager getSelectManager()
           
 int getStartPriority()
          Returns the start priority of the service, used to determine which services to start first.
 
Methods inherited from class com.caucho.env.service.AbstractResinSubSystem
destroy, getStopPriority, preCreate, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

START_PRIORITY

public static final int START_PRIORITY
See Also:
Constant Field Values
Constructor Detail

SocketPollService

public SocketPollService()
Method Detail

createAndAddService

public static SocketPollService createAndAddService()

getCurrent

public static SocketPollService getCurrent()

getCurrentSelectManager

public static AbstractSelectManager getCurrentSelectManager()

getSelectManager

public AbstractSelectManager getSelectManager()

getStartPriority

public int getStartPriority()
Description copied from interface: ResinSubSystem
Returns the start priority of the service, used to determine which services to start first.

Specified by:
getStartPriority in interface ResinSubSystem
Overrides:
getStartPriority in class AbstractResinSubSystem