public enum PServiceCallType extends Enum<PServiceCallType>
Enum Constant and Description |
---|
CALL
Call with parameter wrapper.
|
EXCEPTION
Reply with Application exception.
|
ONEWAY
Call with parameter wrapper that does not want a reply (not even for
exception).
|
REPLY
Reply with response wrapper with return value or exception.
|
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
True if the associated message is the method request struct.
|
Modifier and Type | Method and Description |
---|---|
static PServiceCallType |
findByKey(int key) |
static PServiceCallType |
findByName(String key) |
String |
toString() |
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 String toString()
toString
in class Enum<PServiceCallType>
public static PServiceCallType findByKey(int key)
public static PServiceCallType findByName(String key)
Copyright © 2016. All rights reserved.