org.jmythapi.protocol.events.impl
Class ShutdownCountdown
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.protocol.response.impl.AMythResponse<E>
org.jmythapi.protocol.events.impl.AMythEvent<IShutdownCountdown.Props>
org.jmythapi.protocol.events.impl.ShutdownCountdown
- All Implemented Interfaces:
- Cloneable, IPropertyAware<IShutdownCountdown.Props>, IVersionable, IMythEvent<IShutdownCountdown.Props>, IShutdownCountdown, ISendable, IMythResponse<IShutdownCountdown.Props>
public class ShutdownCountdown
- extends AMythEvent<IShutdownCountdown.Props>
- implements IShutdownCountdown
Methods inherited from class org.jmythapi.impl.AData |
clone, equals, getPropertyClass, getPropertyCount, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValueObject, getPropertyValues, getVersionNr, hashCode, init, postProcessArguments, setPropertyValue, setPropertyValue, setPropertyValueObject |
Methods inherited from interface org.jmythapi.IPropertyAware |
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
ShutdownCountdown
public ShutdownCountdown(IMythPacket packet)
getSecondsTillShutdown
public Integer getSecondsTillShutdown()
- Description copied from interface:
IShutdownCountdown
- Gets the amount of seconds left till shutdown.
- Specified by:
getSecondsTillShutdown
in interface IShutdownCountdown
- Returns:
- the amount of seconds till shutdown.
getShutdownTime
public Date getShutdownTime()
- Description copied from interface:
IShutdownCountdown
- Gets the scheduled shutdown time.
- Specified by:
getShutdownTime
in interface IShutdownCountdown
- Returns:
- the scheduled shutdown time.
Copyright © 2008-2013. All Rights Reserved.