Ejemplo n.º 1
0
 public void EchoAsync(Microsoft.Hpc.EchoSvcClient.Durable.EchoRequest request, object userState)
 {
     if ((this.onBeginEchoDelegate == null))
     {
         this.onBeginEchoDelegate = new BeginOperationDelegate(this.OnBeginEcho);
     }
     if ((this.onEndEchoDelegate == null))
     {
         this.onEndEchoDelegate = new EndOperationDelegate(this.OnEndEcho);
     }
     if ((this.onEchoCompletedDelegate == null))
     {
         this.onEchoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnEchoCompleted);
     }
     base.InvokeAsync(this.onBeginEchoDelegate, new object[] {
         request
     }, this.onEndEchoDelegate, this.onEchoCompletedDelegate, userState);
 }
Ejemplo n.º 2
0
 public void EchoAsync(Microsoft.Hpc.EchoSvcClient.Durable.EchoRequest request)
 {
     this.EchoAsync(request, null);
 }
Ejemplo n.º 3
0
 public System.IAsyncResult BeginEcho(Microsoft.Hpc.EchoSvcClient.Durable.EchoRequest request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginEcho(request, callback, asyncState));
 }
Ejemplo n.º 4
0
 private System.IAsyncResult OnBeginEcho(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     Microsoft.Hpc.EchoSvcClient.Durable.EchoRequest request = ((Microsoft.Hpc.EchoSvcClient.Durable.EchoRequest)(inValues[0]));
     return(this.BeginEcho(request, callback, asyncState));
 }
Ejemplo n.º 5
0
 public Microsoft.Hpc.EchoSvcClient.Durable.EchoResponse Echo(Microsoft.Hpc.EchoSvcClient.Durable.EchoRequest request)
 {
     return(base.Channel.Echo(request));
 }