Public Member Functions | Static Public Member Functions

ns3::SeqTsHeader Class Reference
[UdpClientServer]

Packet header for Udp client/server application The header is made of a 32bits sequence number followed by a 64bits time stamp. More...

#include <seq-ts-header.h>

Inheritance diagram for ns3::SeqTsHeader:
Inheritance graph
[legend]
Collaboration diagram for ns3::SeqTsHeader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetSeq (uint32_t seq)
uint32_t GetSeq (void) const
Time GetTs (void) const

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::SeqTsHeader.

Detailed Description

Packet header for Udp client/server application The header is made of a 32bits sequence number followed by a 64bits time stamp.


Member Function Documentation

uint32_t ns3::SeqTsHeader::GetSeq ( void   )  const
Returns:
the sequence number
Time ns3::SeqTsHeader::GetTs ( void   )  const
Returns:
the time stamp
static TypeId ns3::SeqTsHeader::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::SeqTsHeader.

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Header.

void ns3::SeqTsHeader::SetSeq ( uint32_t  seq  ) 
Parameters:
seq the sequence number

The documentation for this class was generated from the following files: