Added event handler methods for "contact resolved" events

cusax-fix
Emil Ivov 20 years ago
parent 1be37ff09c
commit 7cde8eefac

@ -486,6 +486,22 @@ public void groupRemoved(ServerStoredGroupEvent evt)
notifyAll();
}
}
/**
* Called whnever an indication is received that an existing server
* stored group has been resolved.
* @param evt a ServerStoredGroupChangeEvent containing a reference to
* the resolved group.
*/
public void groupResolved(ServerStoredGroupEvent evt)
{
synchronized(this)
{
logger.debug("Collected evt("+collectedEvents.size()+")= "+evt);
collectedEvents.add(evt);
notifyAll();
}
}
}
/**
@ -572,6 +588,22 @@ public void subscriptionFailed(SubscriptionEvent evt)
}
}
/**
* Stores the received subsctiption and notifies all waiting on this
* object
* @param evt the SubscriptionEvent containing the corresponding contact
*/
public void subscriptionResolved(SubscriptionEvent evt)
{
synchronized(this)
{
logger.debug("Collected evt("+collectedEvents.size()+")= "+evt);
collectedEvents.add(evt);
notifyAll();
}
}
/**
* Stores the received subsctiption and notifies all waiting on this
* object

@ -902,6 +902,22 @@ public void subscriptionFailed(SubscriptionEvent evt)
notifyAll();
}
}
/**
* Stores the received subsctiption and notifies all waiting on this
* object
* @param evt the SubscriptionEvent containing the corresponding contact
*/
public void subscriptionResolved(SubscriptionEvent evt)
{
synchronized(this)
{
logger.debug("Collected evt("+collectedEvents.size()+")= "+evt);
collectedEvents.add(evt);
notifyAll();
}
}
}
/**

Loading…
Cancel
Save