Class MenuJoinCommand
- java.lang.Object
-
- com.thecoderscorner.menu.remote.commands.MenuJoinCommand
-
- All Implemented Interfaces:
MenuCommand
public class MenuJoinCommand extends java.lang.Object implements MenuCommand
-
-
Constructor Summary
Constructors Constructor Description MenuJoinCommand(java.lang.String myName, ApiPlatform platform, int apiVer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetApiVersion()MenuCommandTypegetCommandType()The type of message received.java.lang.StringgetMyName()ApiPlatformgetPlatform()java.lang.StringtoString()
-
-
-
Constructor Detail
-
MenuJoinCommand
public MenuJoinCommand(java.lang.String myName, ApiPlatform platform, int apiVer)
-
-
Method Detail
-
getMyName
public java.lang.String getMyName()
-
getApiVersion
public int getApiVersion()
-
getPlatform
public ApiPlatform getPlatform()
-
getCommandType
public MenuCommandType getCommandType()
Description copied from interface:MenuCommandThe type of message received.- Specified by:
getCommandTypein interfaceMenuCommand- Returns:
- the command type
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-