public interface OspfNbr
| Modifier and Type | Method and Description |
|---|---|
void |
adjOk(org.jboss.netty.channel.Channel ch)
Determines whether an adjacency should be established/maintained with the neighbor.
|
void |
badLSReq(org.jboss.netty.channel.Channel ch)
An invalid request for LSA has been received.
|
long |
ddSeqNum()
Gets the DD sequence number.
|
java.util.Map |
getLsReqList()
Gets the LS request list.
|
java.util.Map<java.lang.String,OspfLsa> |
getPendingReTxList()
Gets the pending re transmit list as a map.
|
java.util.Map |
getReTxList()
Gets the reTxList instance.
|
OspfNeighborState |
getState()
Gets the neighbor's state.
|
int |
isMaster()
Gets neighbor is master or not.
|
boolean |
isOpaqueCapable()
Gets if the neighbor is opaque enabled or not.
|
org.onlab.packet.Ip4Address |
neighborBdr()
Gets the neighbor's BDR address.
|
org.onlab.packet.Ip4Address |
neighborDr()
Gets the neighbor's DR address.
|
org.onlab.packet.Ip4Address |
neighborId()
Gets neighbor's id.
|
org.onlab.packet.Ip4Address |
neighborIpAddr()
Gets the IP address of this neighbor.
|
int |
options()
Gets the options value.
|
int |
routerPriority()
Gets router priority.
|
void |
setDdSeqNum(long ddSeqNum)
Sets the DD sequence number.
|
void |
setIsMaster(int isMaster)
Sets neighbor is master or not.
|
void |
setIsOpaqueCapable(boolean isOpaqueCapable)
Sets the neighbor is opaque enabled or not.
|
void |
setNeighborBdr(org.onlab.packet.Ip4Address neighborBdr)
Sets the neighbor's BDR address.
|
void |
setNeighborDr(org.onlab.packet.Ip4Address neighborDr)
Sets the neighbor's DR address.
|
void |
setNeighborId(org.onlab.packet.Ip4Address neighborId)
Sets the neighbor's id.
|
void |
setOptions(int options)
Sets the options value.
|
void |
setRouterDeadInterval(int routerDeadInterval)
Sets router dead interval.
|
void |
setRouterPriority(int routerPriority)
Sets router priority.
|
void |
startInactivityTimeCheck()
Starts the inactivity timer.
|
void |
stopFloodingTimer()
Stops the flooding timer.
|
void |
stopInactivityTimeCheck()
Stops the inactivity timer.
|
void |
stopRxMtDdTimer()
Stops the Dd Retransmission executor task.
|
void |
stopRxMtLsrTimer()
Stops Ls request retransmission executor task.
|
org.onlab.packet.Ip4Address neighborId()
int routerPriority()
org.onlab.packet.Ip4Address neighborIpAddr()
org.onlab.packet.Ip4Address neighborDr()
org.onlab.packet.Ip4Address neighborBdr()
void adjOk(org.jboss.netty.channel.Channel ch)
ch - netty channel instancejava.util.Map<java.lang.String,OspfLsa> getPendingReTxList()
void setNeighborId(org.onlab.packet.Ip4Address neighborId)
neighborId - neighbor's idvoid setNeighborBdr(org.onlab.packet.Ip4Address neighborBdr)
neighborBdr - neighbor's BDR addressvoid setNeighborDr(org.onlab.packet.Ip4Address neighborDr)
neighborDr - neighbor's DR addressvoid setRouterPriority(int routerPriority)
routerPriority - router priorityvoid setIsOpaqueCapable(boolean isOpaqueCapable)
isOpaqueCapable - true if the neighbor is opaque enabled else falsevoid setIsMaster(int isMaster)
isMaster - neighbor is master or notlong ddSeqNum()
void setDdSeqNum(long ddSeqNum)
ddSeqNum - DD sequence numberint isMaster()
int options()
void setOptions(int options)
options - options valuevoid badLSReq(org.jboss.netty.channel.Channel ch)
ch - netty channel instancejava.util.Map getLsReqList()
java.util.Map getReTxList()
boolean isOpaqueCapable()
OspfNeighborState getState()
void startInactivityTimeCheck()
void stopInactivityTimeCheck()
void setRouterDeadInterval(int routerDeadInterval)
routerDeadInterval - router dead intervalvoid stopFloodingTimer()
void stopRxMtDdTimer()
void stopRxMtLsrTimer()