INET Framework for OMNeT++/OMNEST
AnsaOSPFInterfaceStateDesignatedRouter.h
Go to the documentation of this file.
00001 #ifndef __INET_OSPFINTERFACESTATEDESIGNATEDROUTER_H
00002 #define __INET_OSPFINTERFACESTATEDESIGNATEDROUTER_H
00003 
00004 #include "AnsaOSPFInterfaceState.h"
00005 
00006 namespace AnsaOSPF {
00007 
00008 class InterfaceStateDesignatedRouter : public InterfaceState
00009 {
00010 public:
00011     virtual void ProcessEvent(Interface* intf, Interface::InterfaceEventType event);
00012     virtual Interface::InterfaceStateType GetState(void) const { return Interface::DesignatedRouterState; }
00013 };
00014 
00015 } // namespace AnsaOSPF
00016 
00017 #endif // __INET_OSPFINTERFACESTATEDESIGNATEDROUTER_H
00018