Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClientConnectionHandler"/> class.
 /// </summary>
 /// <param name="client">
 /// The client.
 /// </param>
 /// <param name="domainObjectType">
 /// The domain object type.
 /// </param>
 /// <param name="type">
 /// The type.
 /// </param>
 /// <param name="vo">
 /// The vo.
 /// </param>
 public ClientConnectionHandler(RTMPClient client, Type domainObjectType, NotificationType type, string vo)
 {
     this.client           = client;
     this.domainObjectType = domainObjectType;
     this.type             = type;
     this.vo = vo;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RTMPModel"/> class.
 /// </summary>
 /// <param name="logger">
 /// The logger.
 /// </param>
 /// <param name="settings">
 /// The settings.
 /// </param>
 public RTMPModel(ILogger logger, ApplicationSettingsProvider settings)
 {
     this.logger   = logger;
     this.settings = settings;
     this.CheckIfServerIsRunning();
     // Create client
     this.rtmpClient = new RTMPClient();
     this.rtmpClient.ConnectFailedEvent += this.OnRTMPClientConnectFailedEvent;
 }