edu.sc.seis.fissuresUtil.rt130
Class PacketType

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.rt130.PacketType
Direct Known Subclasses:
AuxiliaryDataParameterPacket, CalibrationParameterPacket, DataPacket, DataStreamParameterPacket, EventHeaderPacket, EventTrailerPacket, OperatingModeParameterPacket, StateOfHealthPacket, StationChannelParameterPacket

public class PacketType
extends java.lang.Object


Field Summary
 AuxiliaryDataParameterPacket aDPP
           
protected  edu.iris.Fissures.model.MicroSecondDate begin_time_of_first_packet
           
protected  int byteCount
           
protected  int channel_number
           
 CalibrationParameterPacket cPP
           
protected  int data_stream_number
           
 DataPacket dP
           
 DataStreamParameterPacket dSPP
           
 EventHeaderPacket eHP
           
protected  double elevation_
           
 edu.iris.Fissures.IfTimeSeries.EncodedData[] encoded_data
           
protected  edu.iris.Fissures.model.MicroSecondDate end_time_of_last_packet
           
 EventTrailerPacket eTP
           
protected  int experimentNumber
           
protected  float latitude_
           
protected  float longitude_
           
protected  int number_of_location_readings
           
protected  int number_of_samples
           
 OperatingModeParameterPacket oMPP
           
protected  int packetSequence
           
protected  java.lang.String packetType
           
 int sample_rate
           
 StationChannelParameterPacket sCPP
           
 StateOfHealthPacket sOHP
           
protected  edu.iris.Fissures.model.MicroSecondDate time
           
protected  java.lang.String unitIdNumber
           
protected  int year
           
 
Constructor Summary
PacketType()
           
PacketType(java.io.DataInput in, boolean processData, MicroSecondTimeRange fileTimeWindow)
           
PacketType(PacketType original)
           
 
Method Summary
 edu.iris.Fissures.model.MicroSecondDate getBeginTimeOfSeismogram()
           
 void readNextPacket(java.io.DataInput in, boolean processData, MicroSecondTimeRange fileTimeWindow)
           
 void setBeginTimeOfSeismogram(edu.iris.Fissures.model.MicroSecondDate newDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packetType

protected java.lang.String packetType

unitIdNumber

protected java.lang.String unitIdNumber

time

protected edu.iris.Fissures.model.MicroSecondDate time

begin_time_of_first_packet

protected edu.iris.Fissures.model.MicroSecondDate begin_time_of_first_packet

end_time_of_last_packet

protected edu.iris.Fissures.model.MicroSecondDate end_time_of_last_packet

experimentNumber

protected int experimentNumber

year

protected int year

byteCount

protected int byteCount

packetSequence

protected int packetSequence

sample_rate

public int sample_rate

number_of_samples

protected int number_of_samples

channel_number

protected int channel_number

data_stream_number

protected int data_stream_number

number_of_location_readings

protected int number_of_location_readings

latitude_

protected float latitude_

longitude_

protected float longitude_

elevation_

protected double elevation_

encoded_data

public edu.iris.Fissures.IfTimeSeries.EncodedData[] encoded_data

aDPP

public AuxiliaryDataParameterPacket aDPP

cPP

public CalibrationParameterPacket cPP

dSPP

public DataStreamParameterPacket dSPP

dP

public DataPacket dP

eHP

public EventHeaderPacket eHP

eTP

public EventTrailerPacket eTP

oMPP

public OperatingModeParameterPacket oMPP

sCPP

public StationChannelParameterPacket sCPP

sOHP

public StateOfHealthPacket sOHP
Constructor Detail

PacketType

public PacketType()

PacketType

public PacketType(java.io.DataInput in,
                  boolean processData,
                  MicroSecondTimeRange fileTimeWindow)
           throws java.io.IOException,
                  RT130FormatException,
                  RT130BadPacketException
Throws:
java.io.IOException
RT130FormatException
RT130BadPacketException

PacketType

public PacketType(PacketType original)
           throws RT130FormatException
Throws:
RT130FormatException
Method Detail

readNextPacket

public void readNextPacket(java.io.DataInput in,
                           boolean processData,
                           MicroSecondTimeRange fileTimeWindow)
                    throws java.io.IOException,
                           RT130FormatException,
                           RT130BadPacketException
Throws:
java.io.IOException
RT130FormatException
RT130BadPacketException

getBeginTimeOfSeismogram

public edu.iris.Fissures.model.MicroSecondDate getBeginTimeOfSeismogram()

setBeginTimeOfSeismogram

public void setBeginTimeOfSeismogram(edu.iris.Fissures.model.MicroSecondDate newDate)