public enum MEP extends Enum<MEP>
Enum Constant and Description |
---|
ASYNC_CALLBACK |
ASYNC_POLL |
ONE_WAY |
REQUEST_RESPONSE |
Modifier and Type | Field and Description |
---|---|
boolean |
isAsync
True for
ASYNC_CALLBACK and ASYNC_POLL . |
Modifier and Type | Method and Description |
---|---|
boolean |
isOneWay() |
static MEP |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MEP[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MEP REQUEST_RESPONSE
public static final MEP ONE_WAY
public static final MEP ASYNC_POLL
public static final MEP ASYNC_CALLBACK
public final boolean isAsync
ASYNC_CALLBACK
and ASYNC_POLL
.public static MEP[] values()
for (MEP c : MEP.values()) System.out.println(c);
public static MEP 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 final boolean isOneWay()
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.