Extended event collector tu support subscription moved events methods.

cusax-fix
Emil Ivov 20 years ago
parent 844d5fb046
commit 05e8cbde81

@ -571,5 +571,20 @@ 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 subscriptionMoved(SubscriptionMovedEvent evt)
{
synchronized(this)
{
logger.debug("Collected evt("+collectedEvents.size()+")= "+evt);
collectedEvents.add(evt);
notifyAll();
}
}
}
}

@ -750,6 +750,21 @@ public void subscriptionRemoved(SubscriptionEvent evt)
}
}
/**
* Stores the received subsctiption and notifies all waiting on this
* object
* @param evt the SubscriptionEvent containing the corresponding contact
*/
public void subscriptionMoved(SubscriptionMovedEvent 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

Loading…
Cancel
Save