|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jmythapi.protocol.request.AMythCommand
public class AMythCommand
The implementation of a MythTV-protocol command.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
AMythCommand(ProtocolVersion protoVersion,
String commandName)
|
|
AMythCommand(ProtocolVersion protoVersion,
String commandName,
List<String> commandArgs)
|
|
AMythCommand(ProtocolVersion protoVersion,
String commandName,
String... commandArgs)
|
|
| Method Summary | |
|---|---|
String |
getCommandArgument(int idx)
Returns the command argument at the given position. |
List<String> |
getCommandArguments()
Gets the arguments of this command. |
int |
getCommandArgumentsLength()
Gets the amount of available command arguments |
String |
getName()
Gets the name of this command. |
ProtocolVersion |
getVersionNr()
Gets the protocol-version of an object. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AMythCommand(ProtocolVersion protoVersion,
String commandName)
public AMythCommand(ProtocolVersion protoVersion,
String commandName,
String... commandArgs)
public AMythCommand(ProtocolVersion protoVersion,
String commandName,
List<String> commandArgs)
| Method Detail |
|---|
public String getName()
IMythCommand
getName in interface IMythCommandMYTH_PROTO_VERSIONpublic List<String> getCommandArguments()
IMythCommand
getCommandArguments in interface IMythCommandPlayback sycamore 0public String getCommandArgument(int idx)
IMythCommandANN Playback sycamore 0,
getCommandArgument(0) returns Playback.
getCommandArgument in interface IMythCommandidx - the position of the requested argument.
public int getCommandArgumentsLength()
IMythCommand
getCommandArgumentsLength in interface IMythCommandpublic String toString()
toString in class Objectpublic ProtocolVersion getVersionNr()
IVersionable
getVersionNr in interface IVersionable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||