00001 #ifndef HELLO_HH_ 00002 # define HELLO_HH_ 00003 00004 # include "outgoing-packet.hh" 00005 # include "packets_fwd.hh" 00006 00007 //#define HELLO_DATA "\xd8\x9d\x00\x00" 00008 //#define HELLO_DATA "\xa0\x9e\x00\x00" 00009 //#define HELLO_DATA "\xc5\x9f\x00\x00" 00010 //#define HELLO_DATA "\xfe\xa0\x00\x00" 00011 #define HELLO_DATA "\x24\xc4\x00\x00" 00012 00013 namespace actions 00014 { 00015 class Hello : public packets::OutgoingPacket 00016 { 00017 public: 00018 Hello(); 00019 00020 const static int op = 0x01; 00021 00022 void print_tag(std::ostream &os) const; 00023 void process(packets::PacketVisitor &ph); 00024 }; 00025 } 00026 00027 #endif