if (priprityType.equals(ReplicationService.PRIORITY_STATIC_TYPE))
priorityChecker = new StaticPriorityChecker(channelManager, ownPriority, ownName, otherParticipants);
else if (priprityType.equals(ReplicationService.PRIORITY_DYNAMIC_TYPE))
priorityChecker = new DynamicPriorityChecker(channelManager, ownPriority, ownName, otherParticipants);
else
priorityChecker = new GenericPriorityChecker(channelManager, ownPriority, ownName, otherParticipants);
viewChecker = new ViewChecker();
viewChecker.start();
}