private bool BecomingRecover(object message)
{
if (message is SnapshotOffer)
{
Context.Become(BecomingCommand);
// sending ourself a normal message here also tests
// that we stash them until recovery is complete
Self.Tell(Message);
return base.ReceiveRecover(message);
}
return false;
}