Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

HeaderF
Class SATNackHeader  view SATNackHeader download SATNackHeader.java

java.lang.Object
  extended byHeaderF.Header
      extended byHeaderF.SATNackHeader

public class SATNackHeader
extends Header


Field Summary
private  int fec_block_id
           
private static int FEC_BLOCK_ID
           
private static int FEC_SEGMENT_ID
           
private  int flow_id
           
private  int grtt_response_timestamp
           
private  java.util.Hashtable pkts_lost
           
 
Constructor Summary
SATNackHeader()
           
SATNackHeader(java.io.BufferedInputStream src, Misc.Counter ct)
          Creates a new instance of SATNackHeader
 
Method Summary
 void addSymbolLost(int block_id, int segment_id)
           
 void addSymbolsLost(int offset, int[] bitmap)
           
(package private)  int getFlowID()
          gets the flow ID for the SAT-RMTP packet
 javax.swing.tree.DefaultMutableTreeNode getInfoTree()
          Returns a tree representation of the header
 int getSize()
           
 byte[] toByteArray()
          writes the nack header to an array of bytes toByteArray()
 java.lang.String toString()
          toString() method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

flow_id

private int flow_id

fec_block_id

private int fec_block_id

pkts_lost

private java.util.Hashtable pkts_lost

grtt_response_timestamp

private int grtt_response_timestamp

FEC_BLOCK_ID

private static final int FEC_BLOCK_ID
See Also:
Constant Field Values

FEC_SEGMENT_ID

private static final int FEC_SEGMENT_ID
See Also:
Constant Field Values
Constructor Detail

SATNackHeader

public SATNackHeader(java.io.BufferedInputStream src,
                     Misc.Counter ct)
              throws java.io.IOException,
                     Exceptions.InvalidHeaderException
Creates a new instance of SATNackHeader


SATNackHeader

public SATNackHeader()
Method Detail

getFlowID

int getFlowID()
gets the flow ID for the SAT-RMTP packet


addSymbolLost

public void addSymbolLost(int block_id,
                          int segment_id)

addSymbolsLost

public void addSymbolsLost(int offset,
                           int[] bitmap)

toByteArray

public byte[] toByteArray()
                   throws java.io.IOException
writes the nack header to an array of bytes toByteArray()


getSize

public int getSize()

toString

public java.lang.String toString()
toString() method


getInfoTree

public javax.swing.tree.DefaultMutableTreeNode getInfoTree()
Returns a tree representation of the header