public MulticastingChannelRealiabilityLayer(IMulticastingChannel innerChannel, TimeSpan heartbeatInterval) { _innerChannel = innerChannel; _heartbeatInterval = heartbeatInterval; _subscribtion = _innerChannel.Subscribe(".*", OnLowerLayerMessage); _heartbeat = _daemon.ScheduleInterval(Heartbeat, _heartbeatInterval); }
public MulticastingStressTestLayer(IMulticastingChannel innerLayer, Random random) { if (innerLayer == null) throw new ArgumentNullException("innerLayer"); if (random == null) throw new ArgumentNullException("random"); _innerLayer = innerLayer; _random = random; }
public MulticastingStressTestLayer(IMulticastingChannel innerLayer, Random random) { if (innerLayer == null) { throw new ArgumentNullException("innerLayer"); } if (random == null) { throw new ArgumentNullException("random"); } _innerLayer = innerLayer; _random = random; }
public EmRoute(string pattern, IMulticastingChannel channel) { if (pattern == null) { throw new ArgumentNullException("pattern"); } if (channel == null) { throw new ArgumentNullException("channel"); } _channel = channel; _pattern = new Regex(pattern, RegexOptions.Compiled); _channel.Subscribe(pattern, (p, o) => { foreach (Action <string, object> consumer in _list) { consumer(p, o); } }); }
public EmMqConfigBase(IMulticastingChannel channel) : base(new List <IMqRoute>()) { Channel = channel; }
public PgmEmMqConfig(IMulticastingChannel channel) : base(channel) { }
public EmMqConfigBase(IMulticastingChannel channel) : base(new List<IMqRoute>()) { Channel = channel; }
public MulticastingStressTestLayer(IMulticastingChannel innerLayer) : this(innerLayer, new Random()) { }