コード例 #1
0
 public void GlobalRequestMessageConstructorTest1()
 {
     GlobalRequestName requestName = new GlobalRequestName(); // TODO: Initialize to an appropriate value
     bool wantReply = false; // TODO: Initialize to an appropriate value
     GlobalRequestMessage target = new GlobalRequestMessage(requestName, wantReply);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GlobalRequestMessage"/> class.
 /// </summary>
 /// <param name="requestName">Name of the request.</param>
 /// <param name="wantReply">if set to <c>true</c> [want reply].</param>
 /// <param name="addressToBind">The address to bind.</param>
 /// <param name="portToBind">The port to bind.</param>
 public GlobalRequestMessage(GlobalRequestName requestName, bool wantReply, string addressToBind, uint portToBind)
 {
     _requestName = requestName.ToArray();
     WantReply = wantReply;
     AddressToBind = addressToBind;
     PortToBind = portToBind;
 }
コード例 #3
0
 public void GlobalRequestMessageConstructorTest2()
 {
     GlobalRequestName requestName = new GlobalRequestName(); // TODO: Initialize to an appropriate value
     bool wantReply = false; // TODO: Initialize to an appropriate value
     string addressToBind = string.Empty; // TODO: Initialize to an appropriate value
     uint portToBind = 0; // TODO: Initialize to an appropriate value
     GlobalRequestMessage target = new GlobalRequestMessage(requestName, wantReply, addressToBind, portToBind);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GlobalRequestMessage"/> class.
 /// </summary>
 /// <param name="requestName">Name of the request.</param>
 /// <param name="wantReply">if set to <c>true</c> [want reply].</param>
 /// <param name="addressToBind">The address to bind.</param>
 /// <param name="portToBind">The port to bind.</param>
 public GlobalRequestMessage(GlobalRequestName requestName, bool wantReply, string addressToBind, uint portToBind)
     : this(requestName, wantReply)
 {
     this.AddressToBind = addressToBind;
     this.PortToBind = portToBind;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GlobalRequestMessage"/> class.
 /// </summary>
 /// <param name="requestName">Name of the request.</param>
 /// <param name="wantReply">if set to <c>true</c> [want reply].</param>
 public GlobalRequestMessage(GlobalRequestName requestName, bool wantReply)
 {
     this.RequestName = requestName;
     this.WantReply = wantReply;
 }
コード例 #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="GlobalRequestMessage"/> class.
        /// </summary>
        /// <param name="requestName">Name of the request.</param>
        /// <param name="wantReply">if set to <c>true</c> [want reply].</param>
        /// <param name="addressToBind">The address to bind.</param>
        /// <param name="portToBind">The port to bind.</param>
        public GlobalRequestMessage(GlobalRequestName requestName, bool wantReply, string addressToBind, uint portToBind)
#if !TUNING
            : this(requestName, wantReply)
#endif
        {
#if TUNING
            _requestName = requestName.ToArray();
            WantReply = wantReply;
#endif
            AddressToBind = addressToBind;
            PortToBind = portToBind;
        }