All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions
WaranCore::TcpHeader Class Reference

Brief description of class still missing. More...

#include <TcpHeader.h>

Inheritance diagram for WaranCore::TcpHeader:
RouteTcpHeader

List of all members.

Public Member Functions

bool isCompatible (unsigned char currentVersion) const
bool isValid () const
void operator= (const TcpHeader &o)
 TcpHeader (unsigned char currentVersion, unsigned char type=0)
 TcpHeader (const TcpHeader &o)
unsigned char type () const

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

WaranCore::TcpHeader::TcpHeader ( unsigned char  currentVersion,
unsigned char  type = 0 
)

Description of constructor still missing

References type().

{
  _tag1='W';
  _tag2='A';
  _version=currentVersion;
  _type=type;
}
{
  _tag1='W';
  _tag2='A';
  _version=o._version;
  _type=o._type;
}

Member Function Documentation

bool WaranCore::TcpHeader::isCompatible ( unsigned char  currentVersion) const [inline]

Referenced by LinkBuffer::bytesAvailable().

{return _version<=currentVersion;}
bool WaranCore::TcpHeader::isValid ( ) const [inline]

Referenced by LinkBuffer::bytesAvailable().

{return _tag1=='W' && _tag2=='A';}
void WaranCore::TcpHeader::operator= ( const TcpHeader o)
{
  _tag1='W';
  _tag2='A';
  _version=o._version;
  _type=o._type;
}
unsigned char WaranCore::TcpHeader::type ( ) const [inline]

Referenced by LinkBuffer::bytesAvailable(), and TcpHeader().

{return _type;}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines