/// <inheritdoc /> protected override void OnInnerAdapterNewOutMessage(Message message) { if (!OutputChannel.IsOpened) { OutputChannel.Open(); } OutputChannel.SendInMessage(message); }
private void AdapterOnNewOutMessage(Message message) { if (!OutputChannel.IsOpened) { OutputChannel.Open(); } OutputChannel.SendInMessage(message); }
/// <summary> /// Send outgoing message. /// </summary> /// <param name="message">Message.</param> public void SendOutMessage(Message message) { if (!OutputChannel.IsOpened) { OutputChannel.Open(); } OutputChannel.SendInMessage(message); }
void Output(OperationDescription od, object [] parameters) { if (OutputChannel.State != CommunicationState.Opened) { OutputChannel.Open(); } ClientOperation op = runtime.Operations [od.Name]; Send(CreateRequest(op, parameters), OperationTimeout); }