jlibrtp
Class PktBufNode

java.lang.Object
  extended by jlibrtp.PktBufNode

public class PktBufNode
extends java.lang.Object

This is a four-directional data structures used for the frame buffer, i.e. buffer for pkts that need to be assimilated into complete frames. All the actual work is done by PktBuffer.

Author:
Arne Kepp

Field Summary
protected  PktBufNode nextFrameNode
          The next node within the frame, i.e.
protected  PktBufNode nextFrameQueueNode
          The next node (RTP Timestamp), looking from the back -> next means older
protected  RtpPkt pkt
          The payload, a parsed RTP Packet
protected  int pktCount
          Number of packets with the same RTP timestamp
protected  PktBufNode prevFrameQueueNode
          The previous node (RTP Timestmap), looking from the back -> prev means newer
protected  int seqNum
          The sequence number associated with this node
protected  long timeStamp
          The RTP timeStamp associated with this node
 
Constructor Summary
protected PktBufNode(RtpPkt aPkt)
          Create a new packet buffer node based on a packet
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nextFrameQueueNode

protected PktBufNode nextFrameQueueNode
The next node (RTP Timestamp), looking from the back -> next means older


prevFrameQueueNode

protected PktBufNode prevFrameQueueNode
The previous node (RTP Timestmap), looking from the back -> prev means newer


nextFrameNode

protected PktBufNode nextFrameNode
The next node within the frame, i.e. higher sequence number, same RTP timestamp


pktCount

protected int pktCount
Number of packets with the same RTP timestamp


timeStamp

protected long timeStamp
The RTP timeStamp associated with this node


seqNum

protected int seqNum
The sequence number associated with this node


pkt

protected RtpPkt pkt
The payload, a parsed RTP Packet

Constructor Detail

PktBufNode

protected PktBufNode(RtpPkt aPkt)
Create a new packet buffer node based on a packet

Parameters:
aPkt - the packet