public void setReceiver(ITypedReceiver receiver) { if (receiver != null) { Receiver = new RawReceiver(receiver); setReceiver(Receiver); } else { setReceiver(null); } }
public TypedSubscriber(String channel, ITypedReceiver receiver) : base(channel) { Receiver = new RawReceiver(receiver); setReceiver(Receiver); }
/// <summary> /// Constructs a new publisher for the given channel name. /// </summary> /// <param name="channel">name of the channel</param> public RawReceiver(ITypedReceiver rcv) { types = new Dictionary <string, Type>(); TypedReceiver = rcv; }
/// <summary> /// Constructs a new publisher for the given channel name. /// </summary> /// <param name="channel">name of the channel</param> public RawReceiver(ITypedReceiver rcv) { types = new Dictionary<string, Type>(); TypedReceiver = rcv; }