Helios.Reactor.Bootstrap.ServerBootstrap.Validate C# (CSharp) Method

Validate() public method

public Validate ( ) : void
return void
        public override void Validate()
        {
            if (Type == TransportType.All) throw new ArgumentException("Type must be set");
            if (Workers < 1) throw new ArgumentException("Workers must be at least 1");
            if (BufferBytes < 1024) throw new ArgumentException("BufferSize must be at least 1024");
        }