Public Member Functions

ns3::ServiceFlowRecord Class Reference

Collaboration diagram for ns3::ServiceFlowRecord:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ServiceFlowRecord (void)
 this class implements a structure to manage some parameters and statistics related to a service flow
void SetGrantSize (uint32_t grantSize)
 Set the grant size (only for UGS service flows).
uint32_t GetGrantSize (void) const
void SetGrantTimeStamp (Time grantTimeStamp)
 Set the grant time stamp. Used for data alocation for ugs flows, and unicast poll (bw request) for non-UGS flows.
Time GetGrantTimeStamp (void) const
void SetDlTimeStamp (Time dlTimeStamp)
 Set the DlTimeStamp.
Time GetDlTimeStamp (void) const
void SetPktsSent (uint32_t pktsSent)
 set the number of sent packets in this service flow
void UpdatePktsSent (uint32_t pktsSent)
 update the number of sent packets by adding pktsSent
uint32_t GetPktsSent (void) const
void SetPktsRcvd (uint32_t pktsRcvd)
 Set the number of received packet.
void UpdatePktsRcvd (uint32_t pktsRcvd)
 update the number of received packets by adding pktsRcvd
uint32_t GetPktsRcvd (void) const
void SetBytesSent (uint32_t bytesSent)
 Set the number of sent bytes.
void UpdateBytesSent (uint32_t bytesSent)
 update the number of sent bytes by adding bytesSent
uint32_t GetBytesSent (void) const
void SetBytesRcvd (uint32_t bytesRcvd)
 Set the number of received bytes.
void UpdateBytesRcvd (uint32_t bytesRcvd)
 update the number of received bytes by adding bytesRcvd
uint32_t GetBytesRcvd (void) const
void SetRequestedBandwidth (uint32_t requestedBandwidth)
void UpdateRequestedBandwidth (uint32_t requestedBandwidth)
uint32_t GetRequestedBandwidth (void)
void SetGrantedBandwidth (uint32_t grantedBandwidth)
void UpdateGrantedBandwidth (uint32_t grantedBandwidth)
uint32_t GetGrantedBandwidth (void)
void SetGrantedBandwidthTemp (uint32_t grantedBandwidthTemp)
void UpdateGrantedBandwidthTemp (uint32_t grantedBandwidthTemp)
uint32_t GetGrantedBandwidthTemp (void)
void SetBwSinceLastExpiry (uint32_t bwSinceLastExpiry)
void UpdateBwSinceLastExpiry (uint32_t bwSinceLastExpiry)
uint32_t GetBwSinceLastExpiry (void)
void SetLastGrantTime (Time grantTime)
Time GetLastGrantTime (void) const
void SetBacklogged (uint32_t backlogged)
void IncreaseBacklogged (uint32_t backlogged)
uint32_t GetBacklogged (void) const
void SetBackloggedTemp (uint32_t backloggedTemp)
void IncreaseBackloggedTemp (uint32_t backloggedTemp)
uint32_t GetBackloggedTemp (void) const

Member Function Documentation

uint32_t ns3::ServiceFlowRecord::GetBytesRcvd ( void   )  const
Returns:
The number of received bytes
uint32_t ns3::ServiceFlowRecord::GetBytesSent ( void   )  const
Returns:
The number of sent bytes
Time ns3::ServiceFlowRecord::GetDlTimeStamp ( void   )  const
Returns:
the DlTimeStamp: time when this service flow's traffic was last sent
uint32_t ns3::ServiceFlowRecord::GetGrantSize ( void   )  const
Returns:
the grant size (only for ugs service flows)
Time ns3::ServiceFlowRecord::GetGrantTimeStamp ( void   )  const
Returns:
the grant time stamp. Used for data allocation for ugs flows, and unicast poll (bw request) for non-UGS flows
uint32_t ns3::ServiceFlowRecord::GetPktsRcvd ( void   )  const
Returns:
the number of received packet
uint32_t ns3::ServiceFlowRecord::GetPktsSent ( void   )  const
Returns:
the number of sent packet in this service flow
void ns3::ServiceFlowRecord::SetBytesRcvd ( uint32_t  bytesRcvd  ) 

Set the number of received bytes.

Parameters:
bytesRcvd the number of received bytes
void ns3::ServiceFlowRecord::SetBytesSent ( uint32_t  bytesSent  ) 

Set the number of sent bytes.

Parameters:
bytesSent the number of sent bytes
void ns3::ServiceFlowRecord::SetDlTimeStamp ( Time  dlTimeStamp  ) 

Set the DlTimeStamp.

Parameters:
dlTimeStamp,: time when this service flow's traffic was last sent.
void ns3::ServiceFlowRecord::SetGrantSize ( uint32_t  grantSize  ) 

Set the grant size (only for UGS service flows).

Parameters:
grantSize the grant size to set
void ns3::ServiceFlowRecord::SetGrantTimeStamp ( Time  grantTimeStamp  ) 

Set the grant time stamp. Used for data alocation for ugs flows, and unicast poll (bw request) for non-UGS flows.

Parameters:
grantTimeStamp the grant time stamp to set
void ns3::ServiceFlowRecord::SetPktsRcvd ( uint32_t  pktsRcvd  ) 

Set the number of received packet.

Parameters:
pktsRcvd The number of received packets
void ns3::ServiceFlowRecord::SetPktsSent ( uint32_t  pktsSent  ) 

set the number of sent packets in this service flow

Parameters:
pktsSent the number of sent packets
void ns3::ServiceFlowRecord::UpdateBytesRcvd ( uint32_t  bytesRcvd  ) 

update the number of received bytes by adding bytesRcvd

Parameters:
bytesRcvd the number of bytes to add
void ns3::ServiceFlowRecord::UpdateBytesSent ( uint32_t  bytesSent  ) 

update the number of sent bytes by adding bytesSent

Parameters:
bytesSent the number of bytes to add
void ns3::ServiceFlowRecord::UpdatePktsRcvd ( uint32_t  pktsRcvd  ) 

update the number of received packets by adding pktsRcvd

Parameters:
pktsRcvd the number of received packets to add
void ns3::ServiceFlowRecord::UpdatePktsSent ( uint32_t  pktsSent  ) 

update the number of sent packets by adding pktsSent

Parameters:
pktsSent the number of sent packets to add

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