Package org.opendaylight.protocol.pcep
Class PCEPCloseTermination
- java.lang.Object
-
- org.opendaylight.protocol.pcep.PCEPTerminationReason
-
- org.opendaylight.protocol.pcep.PCEPCloseTermination
-
public final class PCEPCloseTermination extends PCEPTerminationReason
Used as a reason when one of the regular reasons was the cause of the termination of a session.
-
-
Constructor Summary
Constructors Constructor Description PCEPCloseTermination(TerminationReason reason)
Creates new Termination.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.google.common.base.MoreObjects.ToStringHelper
addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
String
getErrorMessage()
-
Methods inherited from class org.opendaylight.protocol.pcep.PCEPTerminationReason
toString
-
-
-
-
Constructor Detail
-
PCEPCloseTermination
public PCEPCloseTermination(TerminationReason reason)
Creates new Termination.- Parameters:
reason
- reason for termination
-
-
Method Detail
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessage
in classPCEPTerminationReason
-
addToStringAttributes
protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
- Specified by:
addToStringAttributes
in classPCEPTerminationReason
-
-