HiRISE

HiRISE.HiPlan.Data_Slacker
Interface SsrTransaction

All Known Implementing Classes:
AbstractSsrTransaction, DLinkRecord, SsrDrain, SsrInput

public interface SsrTransaction

A set of methods common to all MRO SSR transactions.

This interface does not distinguish between transactions between the MRO SSR's raw and framed partitions, nor does it distinguish between X-band and Ka-band downlink.

Version:
1.2
Author:
Christian Schaller - UA/PIRL

Method Summary
 long getBits()
          Gets the total number of bits transferred in the transaction.
 double getDuration()
          Gets the duration of the transaction in seconds.
 long getEndMillis()
          Gets the end date of the transaction in milliseconds.
 double getRate()
          Gets the transaction rate in bits per second.
 long getStartMillis()
          Gets the start date of the transaction in milliseconds.
 

Method Detail

getStartMillis

long getStartMillis()
Gets the start date of the transaction in milliseconds.

Returns:
the transaction start date in milliseconds.

getEndMillis

long getEndMillis()
Gets the end date of the transaction in milliseconds.

Returns:
the transaction end date in milliseconds.

getBits

long getBits()
Gets the total number of bits transferred in the transaction.

Returns:
the number of bits transferred.

getDuration

double getDuration()
Gets the duration of the transaction in seconds. The duration is the difference between its end date and its start date, expressed in seconds.

Returns:
the transaction duration in seconds.

getRate

double getRate()
Gets the transaction rate in bits per second. The rate is an average rate over the duration.

Returns:
the transaction rate in bits per second.

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona