gov.nasa.gsfc.drl.rtstps.core.ccsds
Interface PacketReceiver

All Superinterfaces:
Receiver
All Known Implementing Classes:
AbstractPacketChannel, HDF5Output, NullChannel, PacketBroadcaster, PacketChannel, PacketChannelA, PacketChannelB, PacketPipeline, PacketRouter, PdsOutput, RDROutput

public interface PacketReceiver
extends Receiver

Any class that implements PacketReceiver accepts packets from a PacketSender.


Method Summary
 void flush()
          Flush the data pipeline.
 java.lang.String getLinkName()
          Get this receiver's name (for error messages).
 void putPacket(Packet packet)
          Give a packet to this PacketReceiver.
 void putPackets(Packet[] packets)
          Give an array of packets to this PacketReceiver.
 

Method Detail

putPackets

void putPackets(Packet[] packets)
                throws RtStpsException
Give an array of packets to this PacketReceiver.

Throws:
RtStpsException

putPacket

void putPacket(Packet packet)
               throws RtStpsException
Give a packet to this PacketReceiver.

Throws:
RtStpsException

flush

void flush()
           throws RtStpsException
Flush the data pipeline.

Specified by:
flush in interface Receiver
Throws:
RtStpsException

getLinkName

java.lang.String getLinkName()
Get this receiver's name (for error messages).

Specified by:
getLinkName in interface Receiver