Class OngoingCfdpTransfer

    • Field Detail

      • state

        protected org.yamcs.protobuf.TransferState state
      • acknowledged

        protected boolean acknowledged
      • log

        protected final Log log
      • startTime

        protected final long startTime
      • failureReason

        protected String failureReason
    • Method Detail

      • processPacket

        public abstract void processPacket​(CfdpPacket packet)
      • sendAck

        protected void sendAck​(AckPacket ackPacket)
      • sendPacket

        protected void sendPacket​(CfdpPacket packet)
      • isOngoing

        public final boolean isOngoing()
      • getTransferState

        public final org.yamcs.protobuf.TransferState getTransferState()
        Specified by:
        getTransferState in interface CfdpTransfer
      • onInactivityTimerExpiration

        protected abstract void onInactivityTimerExpiration()
      • cancelInactivityTimer

        protected void cancelInactivityTimer()
      • rescheduleInactivityTimer

        protected void rescheduleInactivityTimer()
      • suspend

        protected abstract void suspend()
      • resume

        protected abstract void resume()
      • cancel

        protected abstract void cancel​(ConditionCode code)
      • failTransfer

        protected void failTransfer​(String failureReason)
      • changeState

        protected void changeState​(org.yamcs.protobuf.TransferState newState)
      • getFaultHandlingAction

        protected org.yamcs.cfdp.OngoingCfdpTransfer.FaultHandlingAction getFaultHandlingAction​(ConditionCode code)
      • getSourceId

        public long getSourceId()
        Return the entity id of the Sender
        Returns:
      • getDestinationId

        public long getDestinationId()
        Return the entity id of the Receiver
        Returns: