sbd
Interface Compute

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ComputeEngine

public interface Compute
extends java.rmi.Remote


Method Summary
 java.lang.String execute(baseCommand bc)
          executes a base command
 boolean hasPermisions(baseCommand bc)
          check if the baseCommand has permisions to be executed
 boolean verifyLogin(baseCommand bc)
          Verifies the baseCommand login
 

Method Detail

execute

java.lang.String execute(baseCommand bc)
                         throws java.rmi.RemoteException
executes a base command

Parameters:
bc - the base command
Returns:
the base command execution
Throws:
java.rmi.RemoteException

hasPermisions

boolean hasPermisions(baseCommand bc)
                      throws java.rmi.RemoteException
check if the baseCommand has permisions to be executed

Parameters:
bc - the baseCommand
Returns:
true if the username has permisions to execute the command
Throws:
java.rmi.RemoteException

verifyLogin

boolean verifyLogin(baseCommand bc)
                    throws java.rmi.RemoteException
Verifies the baseCommand login

Parameters:
bc - the base command
Returns:
true if the login has been verified
Throws:
java.rmi.RemoteException