public void HandleOneWay(IntPtr nativeClientId,
                                 NativeFabricTransport.IFabricTransportMessage message)
        {
            var clientId = NativeTypes.FromNativeString(nativeClientId);
            var context  = new FabricTransportRequestContext(clientId, this.nativeConnectionHandler.GetCallBack);

            this.service.HandleOneWay(context, NativeFabricTransportMessage.ToFabricTransportMessage(message));
        }
        private async Task <NativeFabricTransportMessage> RequestResponseAsync(string clientId,
                                                                               FabricTransportMessage fabricTransportMessage, TimeSpan timeout)
        {
            // We have Cancellation Token for Remoting layer , hence timeout is not used here.
            var context      = new FabricTransportRequestContext(clientId, this.nativeConnectionHandler.GetCallBack);
            var replyMessage = await this.service.RequestResponseAsync(context, fabricTransportMessage);

            return(new NativeFabricTransportMessage(replyMessage));
        }