public static enum FCPPluginMessage.ClientPermissions extends java.lang.Enum<FCPPluginMessage.ClientPermissions>
Enum Constant and Description |
---|
ACCESS_DIRECT
The client plugin is running within the same node as the server plugin.
This probably should be interpreted as ACCESS_FCP_FULL : If the client
plugin is running inside the node, it can probably do whatever it wants. |
ACCESS_FCP_FULL
The client is connected by network and the owner of the node has configured full
access for the client's IP
|
ACCESS_FCP_RESTRICTED
The client is connected by network and the owner of the node has configured
restricted access for the client's IP
|
Modifier and Type | Method and Description |
---|---|
static FCPPluginMessage.ClientPermissions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FCPPluginMessage.ClientPermissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FCPPluginMessage.ClientPermissions ACCESS_FCP_RESTRICTED
public static final FCPPluginMessage.ClientPermissions ACCESS_FCP_FULL
public static final FCPPluginMessage.ClientPermissions ACCESS_DIRECT
ACCESS_FCP_FULL
: If the client
plugin is running inside the node, it can probably do whatever it wants. We're
nevertheless shipping this information to you as it is available anyway.public static FCPPluginMessage.ClientPermissions[] values()
for (FCPPluginMessage.ClientPermissions c : FCPPluginMessage.ClientPermissions.values()) System.out.println(c);
public static FCPPluginMessage.ClientPermissions valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null