Beispiel #1
0
 public TcpEncodingTransmitter(ITcpTransmitter <byte[]> child, System.Text.Encoding encoding) : base(child, encoding)
 {
     Child = child ?? throw new ArgumentNullException(nameof(child));
 }
 public TcpForwardingTransmitter(ITcpTransmitter <TOutput> child) : base(child)
 {
 }
 public TcpDispatchingTransmitter(ITcpTransmitter <TForward> child, IDispatcher dispatcher) : base(child, dispatcher)
 {
     _dispatcher = dispatcher ?? throw new ArgumentNullException(nameof(dispatcher));
     _child      = child ?? throw new ArgumentNullException(nameof(child));
 }