public enum PServiceCallType extends Enum<PServiceCallType>
Modifier and Type | Field and Description |
---|---|
int |
key
The call type ID used for recognizing the type of call by the service
processor / client.
|
boolean |
request
Reue if the associated message is the method request struct.
|
Modifier and Type | Method and Description |
---|---|
static PServiceCallType |
findByKey(int key) |
static PServiceCallType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PServiceCallType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PServiceCallType CALL
public static final PServiceCallType REPLY
public static final PServiceCallType EXCEPTION
public static final PServiceCallType ONEWAY
public final boolean request
public final int key
public static PServiceCallType[] values()
for (PServiceCallType c : PServiceCallType.values()) System.out.println(c);
public static PServiceCallType 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 static PServiceCallType findByKey(int key)
Copyright © 2016. All rights reserved.