public RequestHandlerFactory(IContainerManager containerManager, IJobManager jobManager, Message.Type requestType, Request request)
 {
     if (containerManager == null)
     {
         throw new ArgumentNullException("containerManager");
     }
     if (jobManager == null)
     {
         throw new ArgumentNullException("jobManager");
     }
     if (requestType == default(Message.Type))
     {
         throw new ArgumentNullException("requestType");
     }
     if (request == null)
     {
         throw new ArgumentNullException("message");
     }
     this.containerManager = containerManager;
     this.jobManager = jobManager;
     this.requestType = requestType;
     this.request = request;
 }
 public LimitMemoryRequestHandler(Request request)
     : base(request)
 {
     this.request = (LimitMemoryRequest)request;
 }
 public EchoRequestHandler(Request request)
     : base(request)
 {
     this.request = (EchoRequest)request;
 }
 public PingRequestHandler(Request request)
     : base(request)
 {
     this.request = (PingRequest)request;
 }
 public NetOutRequestHandler(Request request)
     : base(request)
 {
     this.request = (NetOutRequest)request;
 }
 public LimitBandwidthRequestHandler(Request request)
     : base(request)
 {
     this.request = (LimitBandwidthRequest)request;
 }
 public LimitDiskRequestHandler(Request request)
     : base(request)
 {
     this.request = (LimitDiskRequest)request;
 }