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

Quick Search    Search Deep

HeaderF
Class SATInfoHeader  view SATInfoHeader download SATInfoHeader.java

java.lang.Object
  extended byHeaderF.Header
      extended byHeaderF.SATInfoHeader

public class SATInfoHeader
extends Header


Field Summary
private  long file_crc
           
private  java.lang.String file_name
           
private  int file_size
           
private  java.util.Vector flows
           
private  int k_value
           
private  int m_value
           
private  int n_flows
           
private  int n_value
           
private  int s_security_parameter
           
private  int segment_size
           
private  int tflag
           
 
Constructor Summary
SATInfoHeader(java.io.BufferedInputStream src, Misc.Counter ct)
          Creates a new instance of SATInfoHeader
 
Method Summary
 long getFileCRC()
          gets the file crc value for the SAT-RMTP session
 java.lang.String getFileName()
          gets the file name for the SAT-RMTP session
 int getFileSize()
          gets the file size for the SAT-RMTP session
 javax.swing.tree.DefaultMutableTreeNode getInfoTree()
          Returns a tree representation of the header
 int getNoFlows()
          gets the number of flows for the SAT-RMTP session
 int getParameterK()
           
 int getParameterM()
           
 int getParameterN()
           
 int getSegmentSize()
          gets the segment size for the SAT-RMTP session
private  java.lang.String ipHexToString(long ipaddress)
          auxiliary method to convert an hexadecimal ip address into the text form
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

file_name

private java.lang.String file_name

file_size

private int file_size

file_crc

private long file_crc

n_flows

private int n_flows

tflag

private int tflag

s_security_parameter

private int s_security_parameter

segment_size

private int segment_size

k_value

private int k_value

m_value

private int m_value

n_value

private int n_value

flows

private java.util.Vector flows
Constructor Detail

SATInfoHeader

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

Method Detail

getFileName

public java.lang.String getFileName()
gets the file name for the SAT-RMTP session


getFileSize

public int getFileSize()
gets the file size for the SAT-RMTP session


getFileCRC

public long getFileCRC()
gets the file crc value for the SAT-RMTP session


getNoFlows

public int getNoFlows()
gets the number of flows for the SAT-RMTP session


getSegmentSize

public int getSegmentSize()
gets the segment size for the SAT-RMTP session


ipHexToString

private java.lang.String ipHexToString(long ipaddress)
auxiliary method to convert an hexadecimal ip address into the text form


toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


getInfoTree

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


getParameterK

public int getParameterK()

getParameterM

public int getParameterM()

getParameterN

public int getParameterN()