示例#1
0
 public AMService(TestClientRedirect _enclosing, string hostAddress)
     : base("AMService")
 {
     this._enclosing  = _enclosing;
     this.protocol    = typeof(MRClientProtocol);
     this.hostAddress = hostAddress;
 }
示例#2
0
            /// <exception cref="System.IO.IOException"/>
            public override GetCountersResponse GetCounters(GetCountersRequest request)
            {
                this._enclosing.hsContact = true;
                Counters            counters = TestClientRedirect.GetMyCounters();
                GetCountersResponse response = TestClientRedirect.recordFactory.NewRecordInstance
                                               <GetCountersResponse>();

                response.SetCounters(counters);
                return(response);
            }
示例#3
0
            /// <exception cref="System.IO.IOException"/>
            public virtual GetCountersResponse GetCounters(GetCountersRequest request)
            {
                JobId jobID = request.GetJobId();

                this._enclosing.amContact = true;
                Counters            counters = TestClientRedirect.GetMyCounters();
                GetCountersResponse response = TestClientRedirect.recordFactory.NewRecordInstance
                                               <GetCountersResponse>();

                response.SetCounters(counters);
                return(response);
            }
示例#4
0
 public AMService(TestClientRedirect _enclosing)
     : this(TestClientRedirect.Amhostaddress)
 {
     this._enclosing = _enclosing;
 }
示例#5
0
 public HistoryService(TestClientRedirect _enclosing)
     : base(_enclosing)
 {
     this._enclosing = _enclosing;
     this.protocol   = typeof(HSClientProtocol);
 }
示例#6
0
 public RMService(TestClientRedirect _enclosing, string name)
     : base(name)
 {
     this._enclosing = _enclosing;
 }