org.curjent.impl.agent
Class SyntheticMessage
java.lang.Object
org.curjent.impl.agent.Message
org.curjent.impl.agent.SyntheticMessage
- All Implemented Interfaces:
- Awaiter
final class SyntheticMessage
- extends Message
Message implementation for synthetic calls. All synthetic calls share the
same message. Unlike standard generated messages, the task is not actually
called when a synthetic message is dispatched.
Fields inherited from class org.curjent.impl.agent.Message |
cachedResult, controller, info, mark, markerType, next, NOEXCEPTION, NORESULT, prev, queue, started, state, synthetic, timer |
Method Summary |
protected void |
dispatch(Object task)
Empty implementation that does nothing. |
Methods inherited from class org.curjent.impl.agent.Message |
await, await, await, awaitPending, cancel, clearDeadcheckRequest, deadcheck, expire, finish, get, getArgument, getArgumentCount, getArgumentValue, getBlockingThreads, getCall, getCompletion, getController, getException, getResult, getResultValue, getState, isDeadcheckRequested, isExecuting, isFinished, isReentry, isSatisfied, lock, setArgument, setArgumentValue, setException, setReentry, setResult, setResultValue, setState, startable, toString, unlock |
SyntheticMessage
protected SyntheticMessage(CallInfo info)
- Saves the message's metadata.
dispatch
protected void dispatch(Object task)
throws Throwable
- Empty implementation that does nothing.
- Specified by:
dispatch
in class Message
- Throws:
Throwable
- Any exception thrown by the task's method.- See Also:
MessageFactory
Copyright 2009-2011 Tom Landon
Apache License 2.0