private boolean success;
public void run() {
success = true;
listener = new NotificationListener(host, port, repositoryHost, repositoryPort, protocol, credentials,
repositoryDomain, pollInterval, udp);
success = listener.subscribe("Update", uri, depth, lifetime, notificationDelay, contentSubscriber, credentials);
success = listener.subscribe("Update/newmember", uri, depth, lifetime, notificationDelay, structureSubscriber, credentials);
success = listener.subscribe("Delete", uri, depth, lifetime, notificationDelay, structureSubscriber, credentials);