Shellbox
Library and server for containerized shell execution
Loading...
Searching...
No Matches
Shellbox\Command\RemoteBoxedExecutor Class Reference

A BoxedExecutor which works by running the command on a remote server via HTTP/HTTPS. More...

+ Inheritance diagram for Shellbox\Command\RemoteBoxedExecutor:

Public Member Functions

 __construct (Client $client)
 
 setLogger (LoggerInterface $logger)
 Set the logger.
 
 executeValid (BoxedCommand $command)
 Execute a BoxedCommand that has already been validated.
 
- Public Member Functions inherited from Shellbox\Command\BoxedExecutor
 execute (BoxedCommand $command)
 Execute a boxed command.
 
 createCommand ()
 Create an empty command linked to this executor.
 
 setValidationConfig ( $config)
 Set validation configuration.
 

Additional Inherited Members

- Protected Member Functions inherited from Shellbox\Command\BoxedExecutor
 assertIsValid (BoxedCommand $command)
 Validate the command.
 
- Protected Attributes inherited from Shellbox\Command\BoxedExecutor
 $validator
 

Detailed Description

A BoxedExecutor which works by running the command on a remote server via HTTP/HTTPS.

Constructor & Destructor Documentation

◆ __construct()

Shellbox\Command\RemoteBoxedExecutor::__construct ( Client $client)
Parameters
Client$client

Member Function Documentation

◆ executeValid()

Shellbox\Command\RemoteBoxedExecutor::executeValid ( BoxedCommand $command)

Execute a BoxedCommand that has already been validated.

Parameters
BoxedCommand$command
Returns
BoxedResult

Reimplemented from Shellbox\Command\BoxedExecutor.

◆ setLogger()

Shellbox\Command\RemoteBoxedExecutor::setLogger ( LoggerInterface $logger)

Set the logger.

Parameters
LoggerInterface$logger

The documentation for this class was generated from the following file: