public enum ZeroMqTypeSocket extends Enum<ZeroMqTypeSocket>
Enum Constant and Description |
---|
PAIR
For PAIR-PAIR pattern.
|
PULL
For PUSH-PULL pattern
|
SUB
For PUB-SUB pattern.
|
Modifier and Type | Method and Description |
---|---|
int |
getType() |
static ZeroMqTypeSocket |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZeroMqTypeSocket[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZeroMqTypeSocket PAIR
public static final ZeroMqTypeSocket SUB
public static final ZeroMqTypeSocket PULL
public static ZeroMqTypeSocket[] values()
for (ZeroMqTypeSocket c : ZeroMqTypeSocket.values()) System.out.println(c);
public static ZeroMqTypeSocket 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 int getType()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019