00001 #ifndef __NETWORKLAYERLISTENER_H 00002 #define __NETWORKLAYERLISTENER_H 00003 00004 class NetworkLayerListener { 00005 public: 00006 virtual ~NetworkLayerListener() {} 00007 virtual void handleNetworkEvent(int EventCode, int vcn, NpPacket* packet) = 0; 00008 virtual int generateConnectionDescriptor() = 0; 00009 }; 00010 00011 #endif