Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

strmod::strmod::TelnetChunker::OptionNegotiation Class Reference

A telnet suboption negotiation request. More...

#include <StrMod/TelnetChunkerData.h>

Inheritance diagram for strmod::strmod::TelnetChunker::OptionNegotiation:

Inheritance graph
[legend]
List of all members.

Public Methods

 OptionNegotiation (TelnetChars::OptionNegotiations request, U1Byte type)
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
 Number of octets this chunk takes up. May be deprecated.

TelnetChars::OptionNegotiations getRequest () const
 What kind of negotiation is being made?

U1Byte getType () const
 What option is being negotiated?


Static Public Attributes

const STR_ClassIdent identifier
 A unique identifier for this class.


Protected Methods

virtual const lcore::ClassIdent * i_GetIdent () const
 See class Protocol.

virtual void acceptVisitor (ChunkVisitor &visitor) throw (ChunkVisitor::halt_visitation)
 Accept a ChunkVisitor, and maybe lead it through your children.


Detailed Description

A telnet suboption negotiation request.

Definition at line 170 of file TelnetChunkerData.h.


Constructor & Destructor Documentation

strmod::strmod::TelnetChunker::OptionNegotiation::OptionNegotiation TelnetChars::OptionNegotiations    request,
U1Byte    type
[inline]
 

Parameters:
request The kind of negotiation
type The option is being negotiated

Definition at line 266 of file TelnetChunkerData.h.


Member Function Documentation

int strmod::strmod::TelnetChunker::OptionNegotiation::AreYouA const lcore::ClassIdent &    cid const [inline, virtual]
 

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.

Parameters:
cid Usually <class>::identifier for the class you want to ask if the object is an instance of.

Reimplemented from strmod::strmod::TelnetChunker::TelnetData.

Definition at line 278 of file TelnetChunkerData.h.


The documentation for this class was generated from the following files:
Generated on Wed Jan 29 00:32:56 2003 for libNet by doxygen1.3-rc1