Class MenuHeartbeatCommand
java.lang.Object
com.thecoderscorner.menu.remote.commands.MenuHeartbeatCommand
- All Implemented Interfaces:
MenuCommand
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMenuHeartbeatCommand(int heartbeatInterval, MenuHeartbeatCommand.HeartbeatMode mode) -
Method Summary
-
Constructor Details
-
Method Details
-
getHearbeatInterval
public int getHearbeatInterval() -
getCommandType
Description copied from interface:MenuCommandThe type of message received.- Specified by:
getCommandTypein interfaceMenuCommand- Returns:
- the command type
-
getMode
-
toString
-
equals
-
hashCode
public int hashCode()
-