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);
 }
Esempio n. 2
0
 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>();
 }
Esempio n. 4
0
    // 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;
 }
Esempio n. 7
0
 public void setClient(EzyClient client)
 {
     this.client         = client;
     this.handlerManager = client.getHandlerManager();
 }
 public EzyDataHandlers(EzyClient client) : base(client)
 {
     this.handlers = new Dictionary <Object, EzyDataHandler>();
 }
Esempio n. 9
0
 public void setClient(EzyClient client)
 {
     this.client = client;
 }