public static enum SendBehavior.SendMethod extends Enum<SendBehavior.SendMethod>
| Enum Constant and Description |
|---|
DIRECT
Send the message directly to the receiver
|
RCON
Open a reverse connection to the receiver and send the message.
|
RELAY
Send the message to the relay which forwards it to the receiver
|
SELF
Don't send the message over the network but directly pass it to the own dispatcher
|
| Modifier and Type | Method and Description |
|---|---|
static SendBehavior.SendMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SendBehavior.SendMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SendBehavior.SendMethod DIRECT
public static final SendBehavior.SendMethod RELAY
public static final SendBehavior.SendMethod RCON
public static final SendBehavior.SendMethod SELF
public static SendBehavior.SendMethod[] values()
for (SendBehavior.SendMethod c : SendBehavior.SendMethod.values()) System.out.println(c);
public static SendBehavior.SendMethod 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 © 2014. All rights reserved.