org.hypergraphdb.peer.protocol
Enum Performative

java.lang.Object
  extended by java.lang.Enum<Performative>
      extended by 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

Enum Constant Summary
Accept
           
AcceptProposal
           
Agree
           
CallForProposal
           
Confirm
           
Disconfirm
           
Failure
           
Inform
           
InformIf
           
InformRef
           
NotUnderstood
           
Propagate
           
Propose
           
Proxy
           
QueryIf
           
QueryRef
           
Refuse
           
RejectProposal
           
Request
           
RequestWhen
           
RequestWhenever
           
Subscribe
           
 
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
 

Enum Constant Detail

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
Method Detail

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