00001 #ifndef NG_NETWORKDEVICEINTERFACE_H 00002 #define NG_NETWORKDEVICEINTERFACE_H 00003 00004 #include "GEN_StdString.h" 00005 00006 class NG_NetworkMessage; 00007 00008 class NG_NetworkDeviceInterface 00009 { 00010 public: 00011 NG_NetworkDeviceInterface() {}; 00012 virtual ~NG_NetworkDeviceInterface() {}; 00013 00014 virtual GEN_String GetNetworkVersion()=0; // pure virtual method, MUST be implented by derived class 00015 00016 virtual void SendNetworkMessage(const NG_NetworkMessage& nwmsg)=0; 00017 virtual NG_NetworkMessage RetrieveNetworkMessage()=0; 00018 00019 }; 00020 00021 #endif //NG_NETWORKDEVICEINTERFACE_H