use of org.bimserver.notifications.ChangeProgressTopicOnServerTopic in project BIMserver by opensourceBIM.
the class NotificationRegistryServiceImpl method unregisterChangeProgressOnServer.
@Override
public void unregisterChangeProgressOnServer(Long endPointId) throws ServerException, UserException {
ChangeProgressTopicOnServerTopic changeProgressTopicOnServerTopic = getBimServer().getNotificationsManager().getChangeProgressTopicOnServerTopic();
EndPoint endPoint = getEndPoint(endPointId);
try {
changeProgressTopicOnServerTopic.unregister(endPoint);
} catch (TopicRegisterException e) {
handleException(e);
}
}
use of org.bimserver.notifications.ChangeProgressTopicOnServerTopic in project BIMserver by opensourceBIM.
the class NotificationRegistryServiceImpl method registerChangeProgressOnServer.
@Override
public void registerChangeProgressOnServer(Long endPointId) throws ServerException, UserException {
ChangeProgressTopicOnServerTopic changeProgressTopicOnServerTopic = getBimServer().getNotificationsManager().getChangeProgressTopicOnServerTopic();
EndPoint endPoint = getEndPoint(endPointId);
try {
changeProgressTopicOnServerTopic.register(endPoint);
} catch (TopicRegisterException e) {
handleException(e);
}
}
Aggregations