#include <StrMod/TelnetChunkerData.h>
Inheritance diagram for strmod::strmod::TelnetChunker::TelnetData:

Public Methods | |
| TelnetData () | |
| Constructors for abstract base classes don't do much. | |
| virtual | ~TelnetData () |
| Destructors for abstract base classes don't do much. | |
| virtual int | AreYouA (const lcore::ClassIdent &cid) const |
| Asks if a class is of a particular type, or publicly derived from that type. | |
| virtual unsigned int | Length () const=0 |
| Number of octets this chunk takes up. May be deprecated. | |
Static Public Attributes | |
| const STR_ClassIdent | identifier |
| A unique identifier for this class. | |
Protected Types | |
| typedef lcore::U1Byte | U1Byte |
Protected Methods | |
| virtual const lcore::ClassIdent * | i_GetIdent () const |
| See class Protocol. | |
| virtual void | acceptVisitor (ChunkVisitor &visitor)=0 throw (ChunkVisitor::halt_visitation) |
| Accept a ChunkVisitor, and maybe lead it through your children. | |
It largely exists so the AreYouA() style searches can be used to find out if a StrChunk is a telnet message or not.
Definition at line 49 of file TelnetChunkerData.h.
|
|
Asks if a class is of a particular type, or publicly derived from that type. Overriden in every derived class (with a static identifier member) to compare against the identifier, then call the AreYouA methods of all the superclasses.
Reimplemented from strmod::strmod::StrChunk. Reimplemented in strmod::strmod::TelnetChunker::SingleChar, strmod::strmod::TelnetChunker::Suboption, and strmod::strmod::TelnetChunker::OptionNegotiation. Definition at line 200 of file TelnetChunkerData.h. |
1.3-rc1