EventListener, Node.Cookiepublic static interface ConnectionCookie.Listener extends Node.Cookie, EventListener
| Modifier and Type | Method | 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 moreBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.