// public methods /// <summary> /// Reads the message. /// </summary> /// <returns>A message.</returns> public CommandRequestMessage ReadMessage() { var wrappedMessage = (CommandMessage)_wrappedEncoder.ReadMessage(); return(new CommandRequestMessage(wrappedMessage, null)); }
// public methods /// <summary> /// Reads the message. /// </summary> /// <returns>A message.</returns> public CommandResponseMessage ReadMessage() { var wrappedMessage = (CommandMessage)_wrappedEncoder.ReadMessage(); return(new CommandResponseMessage(wrappedMessage)); }