Helios.Reactor.Bootstrap.ServerBootstrap.Validate C# (CSharp) 메소드

Validate() 공개 메소드

public Validate ( ) : void
리턴 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");
        }