@Test public void testSetNeighborId() throws Exception { ospfNbr.setNeighborId(Ip4Address.valueOf("1.1.1.1")); assertThat(ospfNbr.neighborId(), is(Ip4Address.valueOf("1.1.1.1"))); }
public void setNeighborId(Ip4Address neighborId) { this.neighborId = neighborId; }
OspfNbrImpl implements OspfNbr { public void setNeighborId(Ip4Address neighborId) { this.neighborId = neighborId; } }
OspfNbrImpl implements OspfNbr { public void setNeighborId(Ip4Address neighborId) { this.neighborId = neighborId; } OspfNbrImpl(OspfArea paramOspfArea, OspfInterface paramOspfInterface,
                       Ip4Address ipAddr, Ip4Address routerId, int options,
                       TopologyForDeviceAndLink topologyForDeviceAndLinkCommon); }
OspfNbrImpl implements OspfNbr { public void setNeighborId(Ip4Address neighborId) { this.neighborId = neighborId; } OspfNbrImpl(OspfArea paramOspfArea, OspfInterface paramOspfInterface,
                       Ip4Address ipAddr, Ip4Address routerId, int options,
                       TopologyForDeviceAndLink topologyForDeviceAndLinkCommon); Ip4Address neighborIpAddr(); boolean isOpaqueCapable(); void setIsOpaqueCapable(boolean isOpaqueCapable); void setRouterDeadInterval(int routerDeadInterval); void oneWayReceived(OspfMessage ospfHello, Channel channel); void twoWayReceived(OspfMessage ospfMessage, Channel channel); void negotiationDone(OspfMessage ospfMessage,
                                boolean neighborIsMaster, List payload, Channel ch); void processLsas(List ddPayload); OspfMessage seqNumMismatch(String reason); void badLSReq(Channel ch); void processDdPacket(boolean neighborIsMaster, DdPacket dataDescPkt,
                                Channel ch); void exchangeDone(OspfMessage message, Channel ch); void adjOk(Channel ch); void processLsUpdate(LsUpdate lsUpdPkt, Channel ch); void loadingDone(); boolean processReceivedLsa(LsaHeader recLsa,
                                      boolean receivedViaFlooding, Channel ch, Ip4Address sourceIp); String isNullorLatest(LsaWrapper lsWrapper, LsaHeader recLsa); void processSelfOriginatedLsa(); void sendLsa(LsaHeader lsa, Ip4Address destination, Channel ch); void directAcknowledge(LsaHeader ackLsa, Channel ch, Ip4Address sourceIp); void neighborDown(); void startInactivityTimeCheck(); void stopInactivityTimeCheck(); void startFloodingTimer(Channel channel); void stopFloodingTimer(); void stopRxMtDdTimer(); void stopRxMtLsrTimer(); DdPacket lastDdPacket(); void setLastDdPacket(DdPacket lastDdPacket); Ip4Address neighborId(); void setNeighborId(Ip4Address neighborId); Ip4Address neighborDr(); void setNeighborDr(Ip4Address neighborDr); Ip4Address neighborBdr(); void setNeighborBdr(Ip4Address neighborBdr); int routerPriority(); void setRouterPriority(int routerPriority); int options(); void setOptions(int options); long ddSeqNum(); void setDdSeqNum(long ddSeqNum); int isMaster(); DdPacket lastSentDdPacket(); void setLastSentDdPacket(DdPacket lastSentDdPacket); LsRequest getLastSentLsrPacket(); void setLastSentLsrPacket(LsRequest lastSentLsrPacket); OspfNeighborState getState(); void setState(OspfNeighborState state); void setIsMaster(int isMaster); Hashtable getLsReqList(); Map getReTxList(); Map<String, OspfLsa> getPendingReTxList(); }
OspfNbrImpl implements OspfNbr { public void setNeighborId(Ip4Address neighborId) { this.neighborId = neighborId; } OspfNbrImpl(OspfArea paramOspfArea, OspfInterface paramOspfInterface,
                       Ip4Address ipAddr, Ip4Address routerId, int options,
                       TopologyForDeviceAndLink topologyForDeviceAndLinkCommon); Ip4Address neighborIpAddr(); boolean isOpaqueCapable(); void setIsOpaqueCapable(boolean isOpaqueCapable); void setRouterDeadInterval(int routerDeadInterval); void oneWayReceived(OspfMessage ospfHello, Channel channel); void twoWayReceived(OspfMessage ospfMessage, Channel channel); void negotiationDone(OspfMessage ospfMessage,
                                boolean neighborIsMaster, List payload, Channel ch); void processLsas(List ddPayload); OspfMessage seqNumMismatch(String reason); void badLSReq(Channel ch); void processDdPacket(boolean neighborIsMaster, DdPacket dataDescPkt,
                                Channel ch); void exchangeDone(OspfMessage message, Channel ch); void adjOk(Channel ch); void processLsUpdate(LsUpdate lsUpdPkt, Channel ch); void loadingDone(); boolean processReceivedLsa(LsaHeader recLsa,
                                      boolean receivedViaFlooding, Channel ch, Ip4Address sourceIp); String isNullorLatest(LsaWrapper lsWrapper, LsaHeader recLsa); void processSelfOriginatedLsa(); void sendLsa(LsaHeader lsa, Ip4Address destination, Channel ch); void directAcknowledge(LsaHeader ackLsa, Channel ch, Ip4Address sourceIp); void neighborDown(); void startInactivityTimeCheck(); void stopInactivityTimeCheck(); void startFloodingTimer(Channel channel); void stopFloodingTimer(); void stopRxMtDdTimer(); void stopRxMtLsrTimer(); DdPacket lastDdPacket(); void setLastDdPacket(DdPacket lastDdPacket); Ip4Address neighborId(); void setNeighborId(Ip4Address neighborId); Ip4Address neighborDr(); void setNeighborDr(Ip4Address neighborDr); Ip4Address neighborBdr(); void setNeighborBdr(Ip4Address neighborBdr); int routerPriority(); void setRouterPriority(int routerPriority); int options(); void setOptions(int options); long ddSeqNum(); void setDdSeqNum(long ddSeqNum); int isMaster(); DdPacket lastSentDdPacket(); void setLastSentDdPacket(DdPacket lastSentDdPacket); LsRequest getLastSentLsrPacket(); void setLastSentLsrPacket(LsRequest lastSentLsrPacket); OspfNeighborState getState(); void setState(OspfNeighborState state); void setIsMaster(int isMaster); Hashtable getLsReqList(); Map getReTxList(); Map<String, OspfLsa> getPendingReTxList();  }