gov.nasa.gsfc.drl.rtstps.core.ccsds.path
Class PathServiceSetup

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.ccsds.path.PathServiceSetup

public class PathServiceSetup
extends java.lang.Object

This class defines setup information for a Path Service pipeline. It is associated with one virtual channel and one spacecraft.


Field Summary
 boolean discardIdlePackets
          If true, the Path Service will discard idle packets.
 boolean discardPacketsWithFill
          If true, the Path Service will discard any packet with fill.
 int maxRationalPacketSize
          This is the maximum rational packet size in bytes.
 byte packetFill
          When the Path Service is unable to fill a packet in its entirety, it will fill the remainder by repeatedly appending this fill byte.
 
Constructor Summary
PathServiceSetup(org.w3c.dom.Element element)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packetFill

public byte packetFill
When the Path Service is unable to fill a packet in its entirety, it will fill the remainder by repeatedly appending this fill byte. (However, it will discard any packet that does not have a packet header and at least one byte of real data.) It marks the packet annotation for packets with fill data.


discardPacketsWithFill

public boolean discardPacketsWithFill
If true, the Path Service will discard any packet with fill.


discardIdlePackets

public boolean discardIdlePackets
If true, the Path Service will discard idle packets.


maxRationalPacketSize

public int maxRationalPacketSize
This is the maximum rational packet size in bytes. If a packet size exceeds this value, the Path Service assumes that either the data is not really packet data or it is hopelessly lost in the current frame. If the packet length fails this test, then the Path Service stops any further processing for the current frame and resets itself to start looking for a new packet in the next frame. It discards the failed packet.

Constructor Detail

PathServiceSetup

public PathServiceSetup(org.w3c.dom.Element element)
                 throws RtStpsException
Throws:
RtStpsException