Interface PeerDown
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
PeerDownNotification
@Generated("mdsal-binding-generator") public interface PeerDown extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module bmp-message
grouping peer-down { leaf local-system-closed { type boolean; } choice data { case notification { container notification { uses bgp-msg:notify-message; } } case fsm-event-code { leaf fsm-event-code { type uint16; default 0; } } } }
The schema path to identify an instance is bmp-messagepeer-down
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Data
getData()
Return data, ornull
if it is not present.Boolean
getLocalSystemClosed()
Return localSystemClosed, ornull
if it is not present.Class<? extends PeerDown>
implementedInterface()
default @NonNull Boolean
requireLocalSystemClosed()
Return localSystemClosed, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends PeerDown> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getLocalSystemClosed
Boolean getLocalSystemClosed()
Return localSystemClosed, ornull
if it is not present.If set true, the local system closed the session. Otherwise the remote system closed the session.
- Returns:
Boolean
localSystemClosed, ornull
if it is not present.
-
requireLocalSystemClosed
default @NonNull Boolean requireLocalSystemClosed()
Return localSystemClosed, guaranteed to be non-null.If set true, the local system closed the session. Otherwise the remote system closed the session.
- Returns:
Boolean
localSystemClosed, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localSystemClosed is not present
-
getData
Data getData()
Return data, ornull
if it is not present.- Returns:
Data
data, ornull
if it is not present.
-
-