com.vodafone360.people.service.transport
Interface IWakeupListener

All Known Implementing Classes:
HeartbeatSenderThread

public interface IWakeupListener

An interface used for listening for wakeup alarms which are sent by the Service. This is necessary to wake up the CPU from standby to resend a heartbeat and keep the network connection alive.


Field Summary
static java.lang.String ALARM_HB_THREAD
          The thread name to send the alarm for.
 
Method Summary
 void notifyOfWakeupAlarm()
          Called whenever the Service receives a Wakeup Alarm intent.
 

Field Detail

ALARM_HB_THREAD

static final java.lang.String ALARM_HB_THREAD
The thread name to send the alarm for.

See Also:
Constant Field Values
Method Detail

notifyOfWakeupAlarm

void notifyOfWakeupAlarm()
Called whenever the Service receives a Wakeup Alarm intent. The listener should react on this call by carrying out network activity, e.g. to keep the connection alive.



JavaDoc