public class EzySimpleSettings extends Object implements EzySettings
| Modifier and Type | Field and Description |
|---|---|
protected EzySimpleAdminsSetting |
admins |
protected boolean |
debug |
protected EzySimpleEventControllersSetting |
eventControllers |
protected EzySimpleHttpSetting |
http |
protected EzySimpleLoggerSetting |
logger |
protected int |
maxSessions |
protected String |
nodeName |
protected EzySimpleSessionManagementSetting |
sessionManagement |
protected EzySimpleSocketSetting |
socket |
protected EzySimpleStreamingSetting |
streaming |
protected EzySimpleThreadPoolSizeSetting |
threadPoolSize |
protected EzySimpleUdpSetting |
udp |
protected EzySimpleWebSocketSetting |
websocket |
protected EzySimpleZoneFilesSetting |
zoneFiles |
protected EzySimpleZonesSetting |
zones |
| Constructor and Description |
|---|
EzySimpleSettings() |
| Modifier and Type | Method and Description |
|---|---|
void |
addZone(EzySimpleZoneSetting zone) |
EzySimpleZoneSetting |
getZoneById(Integer id) |
EzySimpleZoneSetting |
getZoneByName(String name) |
Set<Integer> |
getZoneIds() |
Set<String> |
getZoneNames() |
Map<Object,Object> |
toMap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdmins, getEventControllers, getHttp, getLogger, getMaxSessions, getNodeName, getSessionManagement, getSocket, getStreaming, getThreadPoolSize, getUdp, getWebsocket, getZones, isDebugprotected boolean debug
protected String nodeName
protected int maxSessions
protected EzySimpleStreamingSetting streaming
protected EzySimpleHttpSetting http
protected EzySimpleSocketSetting socket
protected EzySimpleUdpSetting udp
protected EzySimpleAdminsSetting admins
protected EzySimpleLoggerSetting logger
protected EzySimpleWebSocketSetting websocket
protected EzySimpleThreadPoolSizeSetting threadPoolSize
protected EzySimpleSessionManagementSetting sessionManagement
protected EzySimpleEventControllersSetting eventControllers
protected EzySimpleZonesSetting zones
protected EzySimpleZoneFilesSetting zoneFiles
public Map<Object,Object> toMap()
toMap in interface com.tvd12.ezyfox.util.EzyToMappublic void addZone(EzySimpleZoneSetting zone)
public Set<String> getZoneNames()
getZoneNames in interface EzySettingspublic Set<Integer> getZoneIds()
getZoneIds in interface EzySettingspublic EzySimpleZoneSetting getZoneByName(String name)
getZoneByName in interface EzySettingspublic EzySimpleZoneSetting getZoneById(Integer id)
getZoneById in interface EzySettingsCopyright © 2021 Young Monkeys. All rights reserved.