/// <summary> /// /// </summary> /// <param name="result"></param> /// <returns></returns> public byte[] EndCallRemote(IAsyncResult result) { return(OnCallRemote.EndInvoke(result)); }
/// <summary> /// /// </summary> /// <param name="route"></param> /// <param name="param"></param> /// <param name="remoteAddress"></param> /// <param name="callback"></param> /// <param name="asyncState"></param> /// <returns></returns> public IAsyncResult BeginCallRemote(string route, string param, string remoteAddress, AsyncCallback callback, object asyncState) { IsClosed = false; return(OnCallRemote.BeginInvoke(this, route, param, remoteAddress, callback, asyncState)); }