public NamedPipeIncomingCommsLink(NamedPipeEndpointDetails endpoint,
     ICommsMessageReaderWriter readerWriter, IIncomingCommsMessageProcessor messageProcessor)
 {
     _endpoint = endpoint;
     _readerWriter = readerWriter;
     _messageProcessor = messageProcessor;
 }
 public TcpIncomingCommsLink(TCPEndpointDetails endpointDetails,
     ICommsMessageReaderWriter readerWriter, IIncomingCommsMessageProcessor messageProcessor)
 {
     _endpoint = endpointDetails;
     _readerWriter = readerWriter;
     _messageProcessor = messageProcessor;
 }