Class Overview
This constant should be used to indicate whether the port in the rule is related to the
device port or the server port that the device is communicating.
Summary
| Enum Values |
| Firewall.PortLocation |
ALL |
Indicates that the port in the rule is related to the device and server port. |
| Firewall.PortLocation |
LOCAL |
Indicates that the port in the rule is related to the device port. |
| Firewall.PortLocation |
REMOTE |
Indicates that the port in the rule is related to the server port. |
|
[Expand]
Inherited Methods |
From class
java.lang.Enum
|
final
Object
|
clone()
|
|
final
int
|
compareTo(E arg0)
|
|
int
|
compareTo(Object arg0)
|
|
final
boolean
|
equals(Object arg0)
|
|
final
void
|
finalize()
|
|
final
Class<E>
|
getDeclaringClass()
|
|
final
int
|
hashCode()
|
|
final
String
|
name()
|
|
final
int
|
ordinal()
|
|
String
|
toString()
|
|
static
<T extends Enum<T>>
T
|
valueOf(Class<T> arg0, String arg1)
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
From interface
java.lang.Comparable
|
abstract
int
|
compareTo(T arg0)
|
|
Enum Values
Since: API level
Indicates that the port in the rule is related to the device and server port.
Since: API level
Indicates that the port in the rule is related to the device port.
Since: API level
Indicates that the port in the rule is related to the server port.
Public Methods