Package org.yamcs.tctm
Class UsocPacketInputStream
java.lang.Object
org.yamcs.tctm.UsocPacketInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,PacketInputStream
Deprecated.
Plays files in PaCTS format, HRDP format or containing raw CCSSDS ISS packets.
Used in the context of ISS/Columbus ground control; it should eventually be removed from the Yamcs core.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated.void
init
(InputStream inputStream, YConfiguration args) Deprecated.Called each time an input stream is opened to initialize the objectbyte[]
Deprecated.read the next packet - blocking if necessary until all the data is available.
-
Field Details
-
inputStream
Deprecated.
-
-
Constructor Details
-
UsocPacketInputStream
public UsocPacketInputStream()Deprecated.
-
-
Method Details
-
init
Deprecated.Description copied from interface:PacketInputStream
Called each time an input stream is opened to initialize the object- Specified by:
init
in interfacePacketInputStream
-
readPacket
Deprecated.Description copied from interface:PacketInputStream
read the next packet - blocking if necessary until all the data is available.- Specified by:
readPacket
in interfacePacketInputStream
- Returns:
- the next packet read from the input stream.
- Throws:
EOFException
- if this input stream reaches the end.IOException
- an I/O error has occurredPacketTooLongException
- if a packet read is longer than a defined limit
-
close
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-