Ejemplo n.º 1
0
 /// <summary>
 /// Invoked when the node is connecting.
 /// </summary>
 /// <param name="config">The connection's configuration.</param>
 /// <returns>An IrisServerListener instance.</returns>
 protected override void OnConnect(IrisServerConfig config)
 {
     _serverConfig = config;
     _pubSubRouter = _serverConfig.PubSubRouter;
     _pubSubRouter.Register(this);
     base.OnConnect(config);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Invoked when the node is connecting.
 /// </summary>
 /// <param name="config">The connection's configuration.</param>
 /// <returns>An AbstractIrisListener instance.</returns>
 protected override void OnConnect(IrisServerConfig config)
 {
     _pubSubRouter = _config.PubSubRouter;
     _pubSubRouter.Register(this);
     _isConnected = true;
 }