Package com.smartfoxserver.v2
Class SmartFoxServer
- java.lang.Object
-
- com.smartfoxserver.v2.SmartFoxServer
-
public final class SmartFoxServer extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description APIManager
getAPIManager()
com.smartfoxserver.v2.entities.managers.IBannedUserManager
getBannedUserManager()
com.smartfoxserver.v2.config.IConfigurator
getConfigurator()
com.smartfoxserver.v2.core.ISFSEventManager
getEventManager()
com.smartfoxserver.v2.entities.managers.IExtensionManager
getExtensionManager()
com.smartfoxserver.v2.http.IHttpServer
getHttpServer()
static SmartFoxServer
getInstance()
InvitationManager
getInvitationManager()
com.smartfoxserver.v2.entities.managers.ILSManager
getLSManager()
IMailerService
getMailService()
int
getMinClientApiVersion()
int
getRestartCount()
com.smartfoxserver.v2.core.service.IServiceProvider
getServiceProvider()
com.smartfoxserver.bitswarm.sessions.ISessionManager
getSessionManager()
ServerState
getState()
com.smartfoxserver.v2.entities.managers.IStatsManager
getStatsManager()
java.util.concurrent.Executor
getSystemThreadPool()
TaskScheduler
getTaskScheduler()
com.smartfoxserver.v2.util.monitor.ITraceMonitor
getTraceMonitor()
IDGenerator
getUIDGenerator()
ServerUptime
getUptime()
com.smartfoxserver.v2.entities.managers.IUserManager
getUserManager()
java.lang.String
getVersion()
com.smartfoxserver.v2.entities.managers.IZoneManager
getZoneManager()
static boolean
grid()
void
halt()
boolean
isGrid()
boolean
isProcessControlAllowed()
boolean
isStarted()
void
restart()
void
start()
-
-
-
Method Detail
-
getInstance
public static SmartFoxServer getInstance()
-
getVersion
public java.lang.String getVersion()
-
getLSManager
public com.smartfoxserver.v2.entities.managers.ILSManager getLSManager()
-
getServiceProvider
public com.smartfoxserver.v2.core.service.IServiceProvider getServiceProvider()
-
getUIDGenerator
public IDGenerator getUIDGenerator()
-
start
public void start()
-
isGrid
public boolean isGrid()
-
grid
public static boolean grid()
-
getRestartCount
public int getRestartCount()
-
restart
public void restart()
-
halt
public void halt()
-
isStarted
public boolean isStarted()
-
isProcessControlAllowed
public boolean isProcessControlAllowed()
-
getTraceMonitor
public com.smartfoxserver.v2.util.monitor.ITraceMonitor getTraceMonitor()
-
getMailService
public IMailerService getMailService()
-
getTaskScheduler
public TaskScheduler getTaskScheduler()
-
getEventManager
public com.smartfoxserver.v2.core.ISFSEventManager getEventManager()
-
getZoneManager
public com.smartfoxserver.v2.entities.managers.IZoneManager getZoneManager()
-
getExtensionManager
public com.smartfoxserver.v2.entities.managers.IExtensionManager getExtensionManager()
-
getBannedUserManager
public com.smartfoxserver.v2.entities.managers.IBannedUserManager getBannedUserManager()
-
getInvitationManager
public InvitationManager getInvitationManager()
-
getUserManager
public com.smartfoxserver.v2.entities.managers.IUserManager getUserManager()
-
getSessionManager
public com.smartfoxserver.bitswarm.sessions.ISessionManager getSessionManager()
-
getState
public ServerState getState()
-
getConfigurator
public com.smartfoxserver.v2.config.IConfigurator getConfigurator()
-
getMinClientApiVersion
public int getMinClientApiVersion()
-
getAPIManager
public APIManager getAPIManager()
-
getStatsManager
public com.smartfoxserver.v2.entities.managers.IStatsManager getStatsManager()
-
getHttpServer
public com.smartfoxserver.v2.http.IHttpServer getHttpServer()
-
getUptime
public ServerUptime getUptime()
-
getSystemThreadPool
public java.util.concurrent.Executor getSystemThreadPool()
-
-