public override void ActivateOptions()
        {
            FlumeClientFactory.Init(Client, Host, Port);

            base.ActivateOptions();
        }
 public void Init_ValidParameters_Succeeds()
 {
     FlumeClientFactory.Init(ClientType.Thrift, "localhost", 9090);
 }
// ReSharper restore NotAccessedField.Local

        private static void Init()
        {
            FlumeClientFactory.Init(ClientType.Thrift, "localhost", 9090);
        }
 public void Init_HostNull_ThrowsArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(
         () => FlumeClientFactory.Init(ClientType.Thrift, null, 9090));
 }
Exemple #5
0
        protected override void InitializeTarget()
        {
            FlumeClientFactory.Init(Client, Host, Port);

            base.InitializeTarget();
        }