public static enum OperaLauncherProtocol.MessageType extends Enum<OperaLauncherProtocol.MessageType>
| Enum Constant and Description |
|---|
MSG_HELLO |
MSG_SCREENSHOT |
MSG_SHUTDOWN |
MSG_START |
MSG_STATUS |
MSG_STOP |
| Modifier and Type | Method and Description |
|---|---|
static OperaLauncherProtocol.MessageType |
get(byte code) |
byte |
getValue() |
static OperaLauncherProtocol.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperaLauncherProtocol.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperaLauncherProtocol.MessageType MSG_HELLO
public static final OperaLauncherProtocol.MessageType MSG_START
public static final OperaLauncherProtocol.MessageType MSG_STATUS
public static final OperaLauncherProtocol.MessageType MSG_SCREENSHOT
public static final OperaLauncherProtocol.MessageType MSG_STOP
public static final OperaLauncherProtocol.MessageType MSG_SHUTDOWN
public static OperaLauncherProtocol.MessageType[] values()
for (OperaLauncherProtocol.MessageType c : OperaLauncherProtocol.MessageType.values()) System.out.println(c);
public static OperaLauncherProtocol.MessageType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic byte getValue()
public static OperaLauncherProtocol.MessageType get(byte code)
Copyright © 2013. All Rights Reserved.