return createNotificationProcess(context, networkManager);
}
private ProcessComponent createNotificationProcess(IConsumeNotificationFactory providerContext,
NetworkManager networkManager) throws IllegalArgumentException, NoPeerConnectionException, NoSessionException {
NotifyProcessContext context = new NotifyProcessContext(providerContext);
SequentialProcess process = new SequentialProcess();
process.add(new VerifyNotificationFactoryStep(context, networkManager.getUserId()));
process.add(new GetPublicKeysStep(context, networkManager.getSession().getKeyManager()));
process.add(new PutAllUserProfileTasksStep(context, networkManager));