Check time expiry before attempting to format notification 62/79762/2
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 20 Jan 2019 16:34:20 +0000 (17:34 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 20 Jan 2019 19:08:58 +0000 (20:08 +0100)
commite2f149583de143e6d02c5ee90d41619ecbaf6b49
tree1fb552fb71744b18d9b32fb5e6dbcfa70f0d2028
parent2c69dd7eb97b9e5a8cc7fd17d12bf792e9113ce0
Check time expiry before attempting to format notification

If the listener is not started yet, or it has stopped, we should
not try to format the document. This splits the checking into two
phases, improving things and laying the foundation for a complete
factoring out the common bits.

Change-Id: Ibff73a4979a5d67385f10647ca7c9ab64a35f42a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/AbstractQueryParams.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/ListenerAdapter.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/NotificationListenerAdapter.java
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/AbstractQueryParams.java
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/ListenerAdapter.java
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/NotificationListenerAdapter.java