예제 #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);
 }
예제 #2
0
 public void EchoAsync(Microsoft.Hpc.EchoSvcClient.Durable.EchoRequest request)
 {
     this.EchoAsync(request, null);
 }
예제 #3
0
 public System.IAsyncResult BeginEcho(Microsoft.Hpc.EchoSvcClient.Durable.EchoRequest request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginEcho(request, callback, asyncState));
 }
예제 #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));
 }
예제 #5
0
 public Microsoft.Hpc.EchoSvcClient.Durable.EchoResponse Echo(Microsoft.Hpc.EchoSvcClient.Durable.EchoRequest request)
 {
     return(base.Channel.Echo(request));
 }