public interface PCEPSessionListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
onMessage(PCEPSession session,
Message message)
Fired when a normal protocol message is received.
|
void |
onSessionDown(PCEPSession session,
Exception e)
Fired when the session went down because of an IO error.
|
void |
onSessionTerminated(PCEPSession session,
PCEPTerminationReason reason)
Fired when the session is terminated locally.
|
void |
onSessionUp(PCEPSession session)
Fired when the session was established successfully.
|
void onSessionUp(PCEPSession session)
session
- Peer address families which we acceptedvoid onSessionDown(PCEPSession session, Exception e)
session
- that went downe
- Exception that was thrown as the cause of session being downvoid onSessionTerminated(PCEPSession session, PCEPTerminationReason reason)
reason
- the cause why the session went downvoid onMessage(PCEPSession session, Message message)
message
- Protocol messageCopyright © 2018 OpenDaylight. All rights reserved.