Class IOScheduler

java.lang.Object
com.swiftmq.impl.net.netty.scheduler.IOScheduler
Direct Known Subclasses:
NettyIOScheduler

public abstract class IOScheduler extends Object
  • Constructor Details

  • Method Details

    • createListener

      public int createListener(ListenerMetaData metaData) throws Exception
      Throws:
      Exception
    • getListener

      public TCPListener getListener(int listenerId)
    • createListenerInstance

      protected abstract TCPListener createListenerInstance(ListenerMetaData metaData, SocketFactory socketFactory) throws Exception
      Throws:
      Exception
    • removeListener

      public void removeListener(int listenerId)
    • createConnector

      public int createConnector(ConnectorMetaData metaData) throws Exception
      Throws:
      Exception
    • getConnector

      public TCPConnector getConnector(int connectorId)
    • createConnectorInstance

      protected abstract TCPConnector createConnectorInstance(ConnectorMetaData metaData, SocketFactory socketFactory) throws Exception
      Throws:
      Exception
    • removeConnector

      public void removeConnector(int connectorId)
    • close

      public void close()