All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Brief description of class still missing. More...
#include <TcpHeader.h>
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 |
Brief description of class still missing.
Full description of class still missing
| WaranCore::TcpHeader::TcpHeader | ( | unsigned char | currentVersion, |
| unsigned char | type = 0 |
||
| ) |
| WaranCore::TcpHeader::TcpHeader | ( | const TcpHeader & | o | ) |
{
_tag1='W';
_tag2='A';
_version=o._version;
_type=o._type;
}
| 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;}