org.rhq.enterprise.communications.command.impl.identify.server
Class IdentifyCommandService
java.lang.Object
org.rhq.enterprise.communications.command.server.CommandMBean
org.rhq.enterprise.communications.command.server.CommandService
org.rhq.enterprise.communications.command.impl.identify.server.IdentifyCommandService
- All Implemented Interfaces:
- MBeanRegistration, CommandExecutor, CommandServiceMBean
public class IdentifyCommandService
- extends CommandService
Processes a client request to identify this server.
- Author:
- John Mazzitelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentifyCommandService
public IdentifyCommandService()
execute
public CommandResponse execute(Command command,
InputStream in,
OutputStream out)
- Description copied from interface:
CommandExecutor
- Executes the given command and returns its response.
- Parameters:
command - the command to executein - input stream should the executor want to get streamed data from the clientout - output stream should the executor want to stream data to the client
- Returns:
- the results of the command execution
- See Also:
CommandExecutor.execute(Command, java.io.InputStream, java.io.OutputStream)
getSupportedCommandTypes
public CommandType[] getSupportedCommandTypes()
- Supports
IdentifyCommand.COMMAND_TYPE.
- Returns:
- array of supported command types
- See Also:
CommandServiceMBean.getSupportedCommandTypes()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.