public abstract class AbstractSocketAcceptor extends SessionConnector implements Acceptor
DEFAULT_QUEUE_CAPACITY, log, longLivedExecutor, propertyChangeSupport, QF_SESSION, QFJ_RESET_IO_CONNECTOR, SESSIONS_PROPERTY, shortLivedExecutor
SETTING_ACCEPTOR_TEMPLATE, SETTING_SOCKET_ACCEPT_ADDRESS, SETTING_SOCKET_ACCEPT_PORT, SETTING_SOCKET_ACCEPT_PROTOCOL
Modifier | Constructor and Description |
---|---|
protected |
AbstractSocketAcceptor(Application application,
MessageStoreFactory messageStoreFactory,
SessionSettings settings,
LogFactory logFactory,
MessageFactory messageFactory) |
protected |
AbstractSocketAcceptor(Application application,
MessageStoreFactory messageStoreFactory,
SessionSettings settings,
MessageFactory messageFactory) |
protected |
AbstractSocketAcceptor(SessionSettings settings,
SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
Map<SessionID,SocketAddress> |
getAcceptorAddresses() |
Collection<org.apache.mina.core.service.IoAcceptor> |
getEndpoints() |
protected abstract EventHandlingStrategy |
getEventHandlingStrategy() |
int |
getQueueSize() |
void |
setSessionProvider(SocketAddress address,
AcceptorSessionProvider provider) |
protected void |
startAcceptingConnections() |
protected void |
stopAcceptingConnections() |
addDynamicSession, addPropertyChangeListener, clearConnectorSessions, closeManagedSessionsAndDispose, createSession, getIntSetting, getIoFilterChainBuilder, getManagedSessions, getScheduledExecutorService, getSessionMap, getSessions, getSettings, isContinueInitOnError, isLoggedOn, logError, logoutAllSessions, removeDynamicSession, removePropertyChangeListener, setExecutorFactory, setIoFilterChainBuilder, setSessions, startSessionTimer, stopSessionTimer, waitForLogout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSessions, isLoggedOn, start, stop, stop
protected AbstractSocketAcceptor(SessionSettings settings, SessionFactory sessionFactory) throws ConfigError
ConfigError
protected AbstractSocketAcceptor(Application application, MessageStoreFactory messageStoreFactory, SessionSettings settings, MessageFactory messageFactory) throws ConfigError
ConfigError
protected AbstractSocketAcceptor(Application application, MessageStoreFactory messageStoreFactory, SessionSettings settings, LogFactory logFactory, MessageFactory messageFactory) throws ConfigError
ConfigError
protected void startAcceptingConnections() throws ConfigError
ConfigError
protected void stopAcceptingConnections()
public Collection<org.apache.mina.core.service.IoAcceptor> getEndpoints()
public Map<SessionID,SocketAddress> getAcceptorAddresses()
public void setSessionProvider(SocketAddress address, AcceptorSessionProvider provider)
public int getQueueSize()
protected abstract EventHandlingStrategy getEventHandlingStrategy()
Copyright © 2021. All rights reserved.