it.jnrpe.net
Class JNRPECommand

java.lang.Object
  extended by it.jnrpe.net.JNRPECommand

public final class JNRPECommand
extends Object

This object represent a JNRPE command.

Author:
Massimiliano Ziccardi

Method Summary
 String[] getArguments()
          Returns the command arguments
 String getCommandName()
          Returns the command name
static JNRPECommand getInstance(JNRPERequest req)
          Returns the command that should satisfy the received request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static JNRPECommand getInstance(JNRPERequest req)
Returns the command that should satisfy the received request

Parameters:
req - The request
Returns:
The command

getCommandName

public String getCommandName()
Returns the command name

Returns:
The command name

getArguments

public String[] getArguments()
Returns the command arguments

Returns:
The command arguments


Copyright © 2012. All Rights Reserved.