org.rhq.enterprise.communications.command.impl.echo
Class EchoCommandClient

java.lang.Object
  extended by org.rhq.enterprise.communications.command.client.AbstractCommandClient
      extended by org.rhq.enterprise.communications.command.impl.echo.EchoCommandClient
All Implemented Interfaces:
CommandClient

public class EchoCommandClient
extends AbstractCommandClient

Provides a client API for the echo command.

Author:
John Mazzitelli

Constructor Summary
EchoCommandClient()
           
EchoCommandClient(RemoteCommunicator communicator)
           
 
Method Summary
 Command createNewCommand(Map<String,Object> params)
          Creates a new Command object that can be used by this client.
 
Methods inherited from class org.rhq.enterprise.communications.command.client.AbstractCommandClient
connectRemoteCommunicator, disconnectRemoteCommunicator, getRemoteCommunicator, invoke, invoke, setRemoteCommunicator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EchoCommandClient

public EchoCommandClient()
See Also:
AbstractCommandClient.AbstractCommandClient()

EchoCommandClient

public EchoCommandClient(RemoteCommunicator communicator)
See Also:
AbstractCommandClient.AbstractCommandClient(RemoteCommunicator)
Method Detail

createNewCommand

public Command createNewCommand(Map<String,Object> params)
Description copied from interface: CommandClient
Creates a new Command object that can be used by this client. The client can take this new command instance, fill it in with parameter values and execute it. The given map of parameters is optional; if non- null, all parameters found in the map will be added to the command.

Parameters:
params - contains parameter values keyed on the parameter names (may be null)
Returns:
a new Command instance
See Also:
CommandClient.createNewCommand(Map)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.