org.sourceforge.jemm.collections.internal.atomic
Class AIRequest

java.lang.Object
  extended by org.sourceforge.jemm.lifecycle.TypeRequest<AIRequest>
      extended by org.sourceforge.jemm.collections.internal.atomic.AIRequest
All Implemented Interfaces:
java.io.Serializable, Encodable<AIRequest>

public class AIRequest
extends TypeRequest<AIRequest>

See Also:
Serialized Form

Constructor Summary
AIRequest(AIAction action, int value, int secondValue)
          Create an AIRequest with the given values.
 
Method Summary
 AIRequest encode(ValueEncoder encoder)
           
 AIAction getAction()
          Return the request action.
 int getDelta()
           
 int getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AIRequest

public AIRequest(AIAction action,
                 int value,
                 int secondValue)
Create an AIRequest with the given values.

Parameters:
action - The action to perform.
value - The primary value to use
secondValue - The secondary value to use.
Method Detail

encode

public AIRequest encode(ValueEncoder encoder)

getAction

public AIAction getAction()
Return the request action.

Returns:
The request action

getValue

public int getValue()

getDelta

public int getDelta()


Copyright © 2009. All Rights Reserved.