Alex Bikfalvi
SimStream Documentation
PacketPimSmJoinPrune.h
00001 #pragma once 00002 00003 #include "PacketPimSm.h" 00004 #include "Address.h" 00005 00006 #define PACKET_PIM_SM_JOIN_PRUNE_HEADER 128 00007 00008 class CPacketPimSmJoinPrune : public CPacketPimSm 00009 { 00010 public: 00011 enum EType 00012 { 00013 JOIN = 0, 00014 PRUNE = 1 00015 }; 00016 protected: 00017 EType type; 00018 CAddress address; 00019 00020 public: 00021 CPacketPimSmJoinPrune( 00022 EType type, 00023 CAddress address 00024 ); 00025 virtual ~CPacketPimSmJoinPrune(); 00026 00027 virtual CPacket* Copy(); 00028 00029 inline EType JoinPruneType() { return this->type; } 00030 inline CAddress Address() { return this->address; } 00031 };
Last updated: February 8, 2011