public override void InformAttributesClient(IAttributesProtocol client) { Logger.Debug("APP: Attributes Client received."); _client = client; if (_localNode.Id.Value == 1) { _client.Add("fake.set", "fake.attribute.name1", "value1"); _client.Add("fake.set", "fake.attribute.name2", "value2"); } }
public void Use(IAttributesProtocol client) { if (!actor.IsStopped) { Action <IDirectoryService> consumer = x => x.Use(client); if (mailbox.IsPreallocated) { mailbox.Send(actor, consumer, null, UseRepresentation3); } else { mailbox.Send(new LocalMessage <IDirectoryService>(actor, consumer, UseRepresentation3)); } } else { actor.DeadLetters.FailedDelivery(new DeadLetter(actor, UseRepresentation3)); } }
public void InformAttributesClient(IAttributesProtocol client) { if (!actor.IsStopped) { Action <IClusterApplication> consumer = __ => __.InformAttributesClient(client); if (mailbox.IsPreallocated) { mailbox.Send(actor, consumer, null, InformAttributesClientRepresentation12); } else { mailbox.Send(new LocalMessage <IClusterApplication>(actor, consumer, InformAttributesClientRepresentation12)); } } else { actor.DeadLetters.FailedDelivery( new DeadLetter(actor, InformAttributesClientRepresentation12)); } }
public void InformAttributesClient(IAttributesProtocol client) { AttributesClient = client; InformAttributesClientCheck.IncrementAndGet(); }
public void InformAttributesClient(IAttributesProtocol client) => Broadcast(app => app.InformAttributesClient(client));
public abstract void InformAttributesClient(IAttributesProtocol client);
public void Use(IAttributesProtocol client) => _attributesClient = client;
public override void InformAttributesClient(IAttributesProtocol client) { Logger.Debug("DIRECTORY: Attributes Client received."); _directoryService.Use(client); }