00001 #ifndef UNKNOWN_INFO_HH_ 00002 # define UNKNOWN_INFO_HH_ 00003 00004 # include "incoming-packet.hh" 00005 # include "info-factory.hh" 00006 # include "packets_fwd.hh" 00007 00008 namespace infos 00009 { 00010 class UnknownInfoMaker : public GenInfoMaker 00011 { 00012 public: 00013 UnknownInfoMaker(int size = 1); 00014 packets::IncomingPacket *make(); 00015 00016 protected: 00017 int _size; 00018 }; 00019 00020 class UnknownInfo : public packets::IncomingPacket 00021 { 00022 public: 00023 UnknownInfo(int size = 1); 00024 00025 const static int op = -1; 00026 00027 void print_data(std::ostream &os) const; 00028 void print_tag(std::ostream &os) const; 00029 void process(packets::PacketVisitor &ph); 00030 }; 00031 }; 00032 00033 #endif