org.curjent.test.agent.asmify
Class CopyMessage_File
java.lang.Object
org.curjent.impl.agent.Message
org.curjent.test.agent.asmify.CopyMessage_File
- All Implemented Interfaces:
- Awaiter
final class CopyMessage_File
- extends Message
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. |
protected void |
setResultValue(Object value)
Implemented by generated message subtypes to unbox and save a result
value. |
Methods inherited from class org.curjent.impl.agent.Message |
await, await, await, clearDeadcheckRequest, deadcheck, getBlockingThreads, getCall, getController, getResultValue, isDeadcheckRequested, isExecuting, isSatisfied, lock, toString, unlock |
arg0
String arg0
result
Object result
CopyMessage_File
CopyMessage_File(CallInfo info)
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
setResultValue
protected void setResultValue(Object value)
- Description copied from class:
Message
- Implemented by generated message subtypes to unbox and save a result
value. This default implementation for
void
return types
does nothing. Subtype implementations throw an exception if
value
is the wrong type.
- Overrides:
setResultValue
in class Message
Copyright 2009-2011 Tom Landon
Apache License 2.0