public SignalRActor(IActorRef commandProcessor, CrawlHubHelper hub) { _commandProcessor = commandProcessor; _hub = hub; HubAvailable(); }
private void WaitingForHub() { Receive <SetHub>(msg => { _hub = msg.Hub; Become(HubAvailable); Stash.UnstashAll(); }); ReceiveAny(_ => Stash.Stash()); }
public SetHub(CrawlHubHelper hub) { Hub = hub; }