Class TransferEventImpl

    • Constructor Detail

      • TransferEventImpl

        public TransferEventImpl()
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Description copied from interface: TransferEvent
        Get a human readable message for this event
        Specified by:
        getMessage in interface TransferEvent
        Returns:
        String
      • getTime

        public java.util.Date getTime()
        Description copied from interface: TransferEvent
        The time this event occured.
        Specified by:
        getTime in interface TransferEvent
        Returns:
        the date/time the event
      • setMessage

        public void setMessage​(java.lang.String message)
      • setRange

        public void setRange​(long range)
      • setPosition

        public void setPosition​(long position)
      • setTime

        public void setTime​(java.util.Date time)
      • setLast

        public void setLast​(boolean last)
      • isLast

        public boolean isLast()
        Description copied from interface: TransferEvent
        Is this the last event for this transfer ?
        Specified by:
        isLast in interface TransferEvent
      • getPosition

        public long getPosition()
        The position in the range
        Returns:
        long
      • getRange

        public long getRange()
        The maximum range
        Returns:
        long
      • toString

        public java.lang.String toString()
        A simple human readable summary of this event, the format of this string is not guaranteed and is liable to change.
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object