org.curjent.test.agent.asmify
Class CopyMessage_Copy

java.lang.Object
  extended by org.curjent.impl.agent.Message
      extended by org.curjent.test.agent.asmify.CopyMessage_Copy
All Implemented Interfaces:
Awaiter

final class CopyMessage_Copy
extends Message


Field Summary
(package private)  String arg0
           
(package private)  String arg1
           
 
Fields inherited from class org.curjent.impl.agent.Message
cachedResult, state
 
Constructor Summary
CopyMessage_Copy(CallInfo info)
           
 
Method Summary
protected  void dispatch(Object queuedTask)
          Delegates execution of the call to the subclass of this message.
protected  Object getArgumentValue(int index)
          Method implemented by generated message subtypes for boxing and unboxing arguments.
protected  void setArgumentValue(int index, Object value)
          Method implemented by generated message subtypes for boxing and unboxing arguments.
 
Methods inherited from class org.curjent.impl.agent.Message
await, await, await, clearDeadcheckRequest, deadcheck, getBlockingThreads, getCall, getController, getResultValue, isDeadcheckRequested, isExecuting, isSatisfied, lock, setResultValue, toString, unlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

arg0

String arg0

arg1

String arg1
Constructor Detail

CopyMessage_Copy

CopyMessage_Copy(CallInfo info)
Method Detail

dispatch

protected void dispatch(Object queuedTask)
                 throws Throwable
Description copied from class: Message
Delegates execution of the call to the subclass of this message. The agent's proxy creates the message and saves the call's parameters. Later, the Controller calls the message's dispatch method to execute the call. The message calls the task's method with the previously saved parameters and saves the result. The message saves parameters and results in its fields.

Specified by:
dispatch in class Message
Throws:
Throwable - Any exception thrown by the task's method.
See Also:
MessageFactory

getArgumentValue

protected Object getArgumentValue(int index)
Description copied from class: Message
Method implemented by generated message subtypes for boxing and unboxing arguments. This default implementation throws an assertion error.

Overrides:
getArgumentValue in class Message

setArgumentValue

protected void setArgumentValue(int index,
                                Object value)
Description copied from class: Message
Method implemented by generated message subtypes for boxing and unboxing arguments. This default implementation throws an assertion error.

Overrides:
setArgumentValue in class Message


Copyright 2009-2011 Tom Landon
Apache License 2.0