Class IOScheduler
java.lang.Object
com.swiftmq.impl.net.netty.scheduler.IOScheduler
- Direct Known Subclasses:
NettyIOScheduler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
createConnector
(ConnectorMetaData metaData) protected abstract TCPConnector
createConnectorInstance
(ConnectorMetaData metaData, SocketFactory socketFactory) int
createListener
(ListenerMetaData metaData) protected abstract TCPListener
createListenerInstance
(ListenerMetaData metaData, SocketFactory socketFactory) getConnector
(int connectorId) getListener
(int listenerId) void
removeConnector
(int connectorId) void
removeListener
(int listenerId)
-
Constructor Details
-
IOScheduler
-
-
Method Details
-
createListener
- Throws:
Exception
-
getListener
-
createListenerInstance
protected abstract TCPListener createListenerInstance(ListenerMetaData metaData, SocketFactory socketFactory) throws Exception - Throws:
Exception
-
removeListener
public void removeListener(int listenerId) -
createConnector
- Throws:
Exception
-
getConnector
-
createConnectorInstance
protected abstract TCPConnector createConnectorInstance(ConnectorMetaData metaData, SocketFactory socketFactory) throws Exception - Throws:
Exception
-
removeConnector
public void removeConnector(int connectorId) -
close
public void close()
-