|
Terrenus HRPT v2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TelemetryStream
A TelemetryStream
is a sequence of data values
broadcast by a spacecraft. Telemetry data consists of a series of
data frames of some fixed length. Each frame contains a number of
blocks of data. A stream object provides a decoder that allows for
useful operations on the data.
Method Summary | |
---|---|
java.nio.ByteBuffer |
getBlock(int frame,
int block)
Gets the data for the specified block. |
int |
getBlockCount()
Gets the number of blocks per frame. |
int |
getDayCount()
Gets the starting day count, or -1 if not available. |
TelemetryDecoder |
getDecoder()
Gets a decoder for the stream data. |
java.lang.String |
getFormat()
Gets a description of the underlying data format. |
int |
getFrameCount()
Gets the total number of telemetry frames. |
int |
getYear()
Gets the starting year, or -1 if not available. |
void |
setDayCount(int dayCount)
Sets the starting day count. |
void |
setYear(int year)
Sets the starting year. |
Method Detail |
---|
int getFrameCount()
int getYear() throws java.io.IOException
java.io.IOException
void setYear(int year)
year
- the starting year. The year is returned by the next
call to getYear()
.int getDayCount() throws java.io.IOException
java.io.IOException
void setDayCount(int dayCount)
dayCount
- the starting day count. The day count is returned by the
next call to getDayCount()
.java.lang.String getFormat()
TelemetryDecoder getDecoder() throws java.io.IOException
java.io.IOException
- if an error occurred decoding the stream
data.int getBlockCount()
java.nio.ByteBuffer getBlock(int frame, int block)
frame
- the frame to get data.block
- the block number to get data.
|
Terrenus HRPT v2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |