Exemplo n.º 1
0
 /// <summary>
 ///   The send operation request.
 /// </summary>
 /// <param name = "operationRequest">
 ///   The operation request.
 /// </param>
 public bool SendOperationRequest(OperationRequest operationRequest)
 {
     NUnit.Framework.Assert.IsTrue(
         this.Peer.SendOperation(
             operationRequest.OperationCode,
             operationRequest.Parameters,
             new SendOptions {
         Reliability = true
     }),
         "Operation not sent.");
     return(true);
 }
Exemplo n.º 2
0
 public bool SendRequest(OperationRequest op, bool encrypted)
 {
     return(this.Peer.OpCustom(op, true, 0, encrypted));
 }