Interface PeerUp
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
PeerSession
,PeerUpNotification
@Generated("mdsal-binding-generator") public interface PeerUp extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module bmp-message
grouping peer-up { leaf local-address { type inet:ip-address-no-zone; } leaf local-port { type inet:port-number; } leaf remote-port { type inet:port-number; } container sent-open { uses open-msg; } container received-open { uses open-msg; } container information { uses string-informations; } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Information
getInformation()
Return information, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone
getLocalAddress()
Return localAddress, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
getLocalPort()
Return localPort, ornull
if it is not present.ReceivedOpen
getReceivedOpen()
Return receivedOpen, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
getRemotePort()
Return remotePort, ornull
if it is not present.SentOpen
getSentOpen()
Return sentOpen, ornull
if it is not present.Class<? extends PeerUp>
implementedInterface()
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone
requireLocalAddress()
Return localAddress, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
requireLocalPort()
Return localPort, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
requireRemotePort()
Return remotePort, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends PeerUp> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getLocalAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone getLocalAddress()
Return localAddress, ornull
if it is not present.The local IP address associated with the peering TCP session.
- Returns:
IpAddressNoZone
localAddress, ornull
if it is not present.
-
requireLocalAddress
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone requireLocalAddress()
Return localAddress, guaranteed to be non-null.The local IP address associated with the peering TCP session.
- Returns:
IpAddressNoZone
localAddress, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localAddress is not present
-
getLocalPort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getLocalPort()
Return localPort, ornull
if it is not present.The local port number associated with the peering TCP session.
- Returns:
PortNumber
localPort, ornull
if it is not present.
-
requireLocalPort
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireLocalPort()
Return localPort, guaranteed to be non-null.The local port number associated with the peering TCP session.
- Returns:
PortNumber
localPort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localPort is not present
-
getRemotePort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getRemotePort()
Return remotePort, ornull
if it is not present.The remote port number associated with the peering TCP session.
- Returns:
PortNumber
remotePort, ornull
if it is not present.
-
requireRemotePort
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireRemotePort()
Return remotePort, guaranteed to be non-null.The remote port number associated with the peering TCP session.
- Returns:
PortNumber
remotePort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if remotePort is not present
-
getSentOpen
SentOpen getSentOpen()
Return sentOpen, ornull
if it is not present.The full OPEN message transmitted by the monitored router to its peer.
- Returns:
SentOpen
sentOpen, ornull
if it is not present.
-
getReceivedOpen
ReceivedOpen getReceivedOpen()
Return receivedOpen, ornull
if it is not present.The full OPEN message received by the monitored router from its peer.
- Returns:
ReceivedOpen
receivedOpen, ornull
if it is not present.
-
getInformation
Information getInformation()
Return information, ornull
if it is not present.- Returns:
Information
information, ornull
if it is not present.
-
-