00001 #pragma once
00002
00003 class CLayerIpMcastMembership
00004 {
00005 public:
00006 enum EState
00007 {
00008 NON_MEMBER = 0,
00009 MEMBER = 1
00010 };
00011
00012 private:
00013 EState state;
00014 __uint32 entry;
00015
00016 public:
00017 CLayerIpMcastMembership() { this->state = NON_MEMBER; }
00018 ~CLayerIpMcastMembership() { }
00019
00020 void Join(__uint32 entry);
00021 void Leave();
00022
00023 inline EState State() { return this->state; }
00024 inline __uint32 Entry() { return this->entry; }
00025 };