public abstract class _Send extends Object implements _Operation
Constructor and Description |
---|
_Send() |
Modifier and Type | Method and Description |
---|---|
void |
call(SimpleMachine stateMachine,
RP rp)
Perform the operation.
|
abstract Request |
getRequest(SimpleMachine stateMachine)
Returns the request.
|
abstract String |
getResultName()
Returns the name of the result, or null.
|
abstract Actor |
getTargetActor(SimpleMachine stateMachine)
Returns the actor which is to receive the message.
|
public final void call(SimpleMachine stateMachine, RP rp) throws Exception
call
in interface _Operation
stateMachine
- The state machine driving the operation.rp
- The response processor.Exception
- Any uncaught exceptions raised while performing the operation.public abstract Actor getTargetActor(SimpleMachine stateMachine) throws Exception
stateMachine
- The state machine.Exception
public abstract Request getRequest(SimpleMachine stateMachine)
stateMachine
- The state machine.public abstract String getResultName()
Copyright © 2012. All Rights Reserved.