public static enum ZeroMqProxy.Type extends Enum<ZeroMqProxy.Type>
Enum Constant and Description |
---|
PULL_PUSH |
ROUTER_DEALER |
SUB_PUB |
Modifier and Type | Method and Description |
---|---|
org.zeromq.SocketType |
getBackendSocketType() |
org.zeromq.SocketType |
getFrontendSocketType() |
static ZeroMqProxy.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZeroMqProxy.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZeroMqProxy.Type SUB_PUB
public static final ZeroMqProxy.Type PULL_PUSH
public static final ZeroMqProxy.Type ROUTER_DEALER
public static ZeroMqProxy.Type[] values()
for (ZeroMqProxy.Type c : ZeroMqProxy.Type.values()) System.out.println(c);
public static ZeroMqProxy.Type 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 org.zeromq.SocketType getFrontendSocketType()
public org.zeromq.SocketType getBackendSocketType()