Exemplo n.º 1
0
 def __init__(
     self,
     stdout: bool = False,
     stderr: bool = False,
     daemon: bool = False,
     timeout: int = 0,
     encoding: str = 'utf-8',
 ) -> None:
     super(ClientCommand, self).__init__([], stdout, stderr, daemon,
                                         timeout, encoding)
     self.control: ControlOptionsCommon = ControlOptionsCommon()
     self.logging: LoggingOptionsCommon = LoggingOptionsCommon()
     self.connection: ConnectionOptionsCommon = ConnectionOptionsCommon()
     self.connector: ConnectorOptions = ConnectorOptions()
Exemplo n.º 2
0
 def __init__(
     self,
     stdout: bool = False,
     stderr: bool = False,
     daemon: bool = False,
     timeout: int = 0,
     encoding: str = 'utf-8',
 ) -> None:
     super(ClientCommandBase, self).__init__(
         [], stdout, stderr, daemon, timeout, encoding
     )
     self.control: ControlOptionsSenderReceiver = ControlOptionsSenderReceiver()
     self.logging: LoggingOptionsSenderReceiver = LoggingOptionsSenderReceiver()
     self.transaction: TransactionOptionsSenderReceiver = TransactionOptionsSenderReceiver()
     self.connection: ConnectionOptionsCommon = ConnectionOptionsCommon()
     self.message: MessageOptionsSender = MessageOptionsSender()