org.clazzes.remoting.cmd
Class ReturnClassBytesCmd

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

public class ReturnClassBytesCmd
extends Cmd

A command that reports a remote class to the client.

Author:
wglas
See Also:
Serialized Form

Constructor Summary
ReturnClassBytesCmd(ClassBytes classBytes)
           
 
Method Summary
 void accept(CmdVisitor visitor)
           
 ClassBytes getClassBytes()
           
 
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

ReturnClassBytesCmd

public ReturnClassBytesCmd(ClassBytes classBytes)
Parameters:
classBytes - The binary class being transported to the client. If null, the remote class could not be found.
Method Detail

getClassBytes

public ClassBytes getClassBytes()
Returns:
The subsystem being called.

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.