public static interface ConnectionCookie.Listener extends Node.Cookie, EventListener
Modifier and Type | Method and Description |
---|---|
void |
notify(ConnectionCookie.Event ev)
Notifies that the an event happended.
|
void notify(ConnectionCookie.Event ev) throws IllegalArgumentException, ClassCastException
ev
- event that describes the actionIllegalArgumentException
- if the event is not of valid type, then the
caller should call the listener no moreClassCastException
- if the event is not of valid type, then the
caller should call the listener no more