public ChannelPairing(IActiveChannel external, IConnection connection, ListenerForProxying parent)
 {
     _external   = external.Required(nameof(external));
     _parent     = parent.Required(nameof(parent));
     _tagAsILInt = new ReadOnlySequence <byte>(connection.MessageTag.AsILInt());
     _proxied    = connection.AllocateChannel(this);
 }
Beispiel #2
0
 public LivenessListener(IConnection client, Client clientProcessor)
 {
     _clientProcessor = clientProcessor;
     Start(client.AllocateChannel(this));
 }