public static enum IrTrans.Interface extends Enum<IrTrans.Interface>
Enum Constant and Description |
---|
http
http
|
serial
presently not supported
|
tcp
"Raw" tcp interface.
|
tcpAscii
ASCII TCP socket interface
|
udp
UDP interface
|
usb
presently not supported
|
Modifier and Type | Method and Description |
---|---|
static IrTrans.Interface |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IrTrans.Interface[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IrTrans.Interface tcp
public static final IrTrans.Interface tcpAscii
public static final IrTrans.Interface udp
public static final IrTrans.Interface http
public static final IrTrans.Interface serial
public static final IrTrans.Interface usb
public static IrTrans.Interface[] values()
for (IrTrans.Interface c : IrTrans.Interface.values()) System.out.println(c);
public static IrTrans.Interface 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 nullCopyright © 2016. All rights reserved.