- All Superinterfaces:
- All Known Implementing Classes:
@NonNullByDefault public interface PCEPSessionListener extends EventListener
Listener that receives session informations from the session.
Method SummaryModifier and TypeMethodDescription
voidFired when a normal protocol message is received.
voidFired when the session went down because of an IO error.
voidFired when the session is terminated locally.
voidFired when the session was established successfully.
(PCEPSession session)Fired when the session was established successfully.
session- Peer address families which we accepted
onSessionDownFired when the session went down because of an IO error. Implementation should take care of closing underlying session.
session- that went down
exception- Exception that was thrown as the cause of session being down
onSessionTerminatedFired when the session is terminated locally. The session has already been closed and transitioned to IDLE state. Any outstanding queued messages were not sent. The user should not attempt to make any use of the session.
reason- the cause why the session went down
onMessageFired when a normal protocol message is received.
message- Protocol message