org.clazzes.remoting.cmd
Class InvocationResultCmd

java.lang.Object
  extended by org.clazzes.remoting.cmd.Cmd
      extended by org.clazzes.remoting.cmd.InvocationResultCmd
All Implemented Interfaces:
java.io.Serializable

public class InvocationResultCmd
extends Cmd

A command, which is setnt, when an invocation returned normally.

Author:
wglas
See Also:
Serialized Form

Constructor Summary
InvocationResultCmd(java.lang.Object result)
           
 
Method Summary
 void accept(CmdVisitor visitor)
           
 java.lang.Object getResult()
           
 
Methods inherited from class org.clazzes.remoting.cmd.Cmd
acceptCmd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationResultCmd

public InvocationResultCmd(java.lang.Object result)
Parameters:
result - The result of an invocation.
Method Detail

getResult

public java.lang.Object getResult()
Returns:
The result of an invocation.

accept

public void accept(CmdVisitor visitor)
Specified by:
accept in class Cmd
Parameters:
visitor - The visitor representing a polymorphic operation on the command.


Copyright © 2010. All Rights Reserved.