Package horizons :: Package command :: Module uioptions :: Class TransferResource
[hide private]
[frames] | no frames]

Class TransferResource

source code

   Command --+    
             |    
GenericCommand --+
                 |
                TransferResource

Transfers an amount of a resource from one Storage to another

Instance Methods [hide private]
 
__init__(self, amount, res_id, transfer_from, transfer_to, signal_errors=False) source code
    Inherited from GenericCommand
 
__call__(self, issuer) source code
 
__str__(self) source code
 
_get_object(self) source code
    Inherited from Command
 
execute(self, session, local=False)
Execute command.
source code
Class Methods [hide private]
    Inherited from Command
 
allow_network(cls, klass)
NOTE: this is a security related method and may lead to execution of arbritary code if used in a wrong way see documentation inside horizons.network.packets.SafeUnpickler
source code
 
get_all_commands(cls) source code
Class Variables [hide private]
    Inherited from Command
  log = logging.getLogger("command")
Method Details [hide private]

__init__(self, amount, res_id, transfer_from, transfer_to, signal_errors=False)
(Constructor)

source code 
Overrides: GenericCommand.__init__