#include <OSPFInterfaceStateLoopback.h>
Inheritance diagram for OSPF::InterfaceStateLoopback:

Public Member Functions | |
| virtual void | ProcessEvent (Interface *intf, Interface::InterfaceEventType event) |
| virtual Interface::InterfaceStateType | GetState (void) const |
|
|
Implements OSPF::InterfaceState. 00012 { return Interface::LoopbackState; }
|
|
||||||||||||
|
00005 {
00006 if (event == OSPF::Interface::InterfaceDown) {
00007 intf->Reset ();
00008 ChangeState (intf, new OSPF::InterfaceStateDown, this);
00009 }
00010 if (event == OSPF::Interface::UnloopIndication) {
00011 ChangeState (intf, new OSPF::InterfaceStateDown, this);
00012 }
00013 }
|
1.4.1