com.meiglobal.ebds.api.event
Class DownloadStartEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.meiglobal.ebds.api.event.AcceptorEvent
          extended by com.meiglobal.ebds.api.event.DownloadStartEvent
All Implemented Interfaces:
java.io.Serializable

public class DownloadStartEvent
extends AcceptorEvent

Event generated when the device starts the firmware download process.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.meiglobal.ebds.api.event.AcceptorEvent
description
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DownloadStartEvent(java.lang.Object source, int packetCount)
          Constructor
 
Method Summary
 int getPacketCount()
          Returns the total packet count for this download.
 
Methods inherited from class com.meiglobal.ebds.api.event.AcceptorEvent
getDescription
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DownloadStartEvent

public DownloadStartEvent(java.lang.Object source,
                          int packetCount)
Constructor

Parameters:
source - Event source object.
packetCount - The file's total packet count.
Method Detail

getPacketCount

public int getPacketCount()
Returns the total packet count for this download.

Returns:
The packet count.