org.hypergraphdb.peer.protocol
Enum Performative
java.lang.Object
java.lang.Enum<Performative>
org.hypergraphdb.peer.protocol.Performative
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Performative>
public enum Performative
- extends java.lang.Enum<Performative>
The FIPA standard communicative acts.
- Author:
- Cipri Costa and Borislav Iordanov
|
Method Summary |
static Performative |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Performative[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Accept
public static final Performative Accept
AcceptProposal
public static final Performative AcceptProposal
Agree
public static final Performative Agree
CallForProposal
public static final Performative CallForProposal
Confirm
public static final Performative Confirm
Disconfirm
public static final Performative Disconfirm
Failure
public static final Performative Failure
Inform
public static final Performative Inform
InformIf
public static final Performative InformIf
InformRef
public static final Performative InformRef
NotUnderstood
public static final Performative NotUnderstood
Propagate
public static final Performative Propagate
Propose
public static final Performative Propose
Proxy
public static final Performative Proxy
QueryIf
public static final Performative QueryIf
QueryRef
public static final Performative QueryRef
Refuse
public static final Performative Refuse
RejectProposal
public static final Performative RejectProposal
Request
public static final Performative Request
RequestWhen
public static final Performative RequestWhen
RequestWhenever
public static final Performative RequestWhenever
Subscribe
public static final Performative Subscribe
values
public static final Performative[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Performative c : Performative.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Performative valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name