be.ac.ulg.montefiore.run.totem.domain.model.impl
Class BgpNeighborImpl

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.domain.model.jaxb.impl.BgpNeighborImpl
      extended by be.ac.ulg.montefiore.run.totem.domain.model.impl.BgpNeighborImpl
All Implemented Interfaces:
BgpNeighbor, UnmarshallableObject, ValidatableObject, XMLSerializable, com.sun.xml.bind.JAXBObject

public class BgpNeighborImpl
extends BgpNeighborImpl
implements BgpNeighbor


Nested Class Summary
 
Nested classes/interfaces inherited from class be.ac.ulg.montefiore.run.totem.domain.model.jaxb.impl.BgpNeighborImpl
BgpNeighborImpl.FiltersTypeImpl, BgpNeighborImpl.Unmarshaller
 
Nested classes/interfaces inherited from interface be.ac.ulg.montefiore.run.totem.domain.model.jaxb.BgpNeighbor
BgpNeighbor.FiltersType
 
Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.domain.model.jaxb.impl.BgpNeighborImpl
_As, _Filters, _Ip, _NextHopSelf, _ReflectorClient, has_As, has_NextHopSelf, has_ReflectorClient, version
 
Constructor Summary
BgpNeighborImpl()
           
 
Method Summary
 java.lang.String getAddress()
          Returns the neighbor's IP address.
 int getASID()
          Returns the neighbor's AS number.
 boolean hasNextHopSelf()
          Returns true is the neighbor needs next-hop-self.
 boolean isReflectorClient()
          Returns true if the neighbor is a route-reflector client.
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.domain.model.jaxb.impl.BgpNeighborImpl
createRawValidator, createUnmarshaller, getAs, getFilters, getIp, getPrimaryInterface, isNextHopSelf, isSetAs, isSetFilters, isSetIp, isSetNextHopSelf, isSetReflectorClient, serializeAttributes, serializeBody, serializeURIs, setAs, setFilters, setIp, setNextHopSelf, setReflectorClient, unsetAs, unsetFilters, unsetIp, unsetNextHopSelf, unsetReflectorClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BgpNeighborImpl

public BgpNeighborImpl()
Method Detail

getAddress

public java.lang.String getAddress()
Returns the neighbor's IP address.

Returns:
IP address of the neighbor.

getASID

public int getASID()
Returns the neighbor's AS number.

Returns:
AS number of the neighbor.

isReflectorClient

public boolean isReflectorClient()
Returns true if the neighbor is a route-reflector client.

Specified by:
isReflectorClient in interface BgpNeighbor
Overrides:
isReflectorClient in class BgpNeighborImpl
Returns:
true iff the neighbor is a route-reflector client.

hasNextHopSelf

public boolean hasNextHopSelf()
Returns true is the neighbor needs next-hop-self.

Returns:
true iff the neighbor needs next-hop-self.


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.