public EzySimplePlugin(EzyZone zone, int id, String name) { this.client = zone.getClient(); this.zone = zone; this.id = id; this.name = name; this.dataHandlers = client.getHandlerManager().getPluginDataHandlers(name); }
public EzySimpleZone(EzyClient client, int id, String name) { this.id = id; this.name = name; this.client = client; this.appManager = new EzySimpleAppManager(name); this.pluginManager = new EzySimplePluginManager(name); }
public EzySimpleHandlerManager(EzyClient client) { this.client = client; this.pingSchedule = client.getPingSchedule(); this.eventHandlers = newEventHandlers(); this.dataHandlers = newDataHandlers(); this.appDataHandlersByAppName = new Dictionary <String, EzyAppDataHandlers>(); this.pluginDataHandlersByPluginName = new Dictionary <String, EzyPluginDataHandlers>(); }
// Use this for initialization void Start() { // Enable EzyLogger EzyLoggerFactory.setLoggerSupply(type => new UnityLogger(type)); logger = EzyLoggerFactory.getLogger <SocketInitializer>(); // Set up socket client var socketProxy = SocketProxy.getInstance(); client = socketProxy.setup(host, port); }
public EzyPingSchedule(EzyClient client) { this.client = client; this.pingRequest = new EzyPingRequest(); this.pingManager = client.getPingManager(); }
public EzyAbstractHandlers(EzyClient client) { this.client = client; }
public void setClient(EzyClient client) { this.client = client; this.handlerManager = client.getHandlerManager(); }
public EzyDataHandlers(EzyClient client) : base(client) { this.handlers = new Dictionary <Object, EzyDataHandler>(); }
public void setClient(EzyClient client) { this.client = client; }