public final class _ReturnV extends Object implements _Operation
Exit the state machine with the given result.
SMBuilder smb = new SMBuilder();
String rv = "Hello world!";
smb._return(rv);
rv = null;
smb.call(rp);
Result:
Hello world!
SMBuilder smb = new SMBuilder();
smb._return(null);
smb.call(rp);
Result:
null
| Constructor and Description |
|---|
_ReturnV(_SMBuilder parentSMB,
Object result)
Create a_ReturnV.
|
public _ReturnV(_SMBuilder parentSMB, Object result)
parentSMB - The parent builder.result - The result returned.public final void call(SimpleMachine stateMachine, RP rp) throws Exception
call in interface _OperationstateMachine - The state machine driving the operation.rp - The response processor.Exception - Any uncaught exceptions raised while performing the operation.Copyright © 2013. All Rights Reserved.