Ejemplo n.º 1
0
 /** {@inheritdoc} */
 public function write($data, $isOutOfBand = false)
 {
     try {
         return $this->ioInterface->write($data, $this->context, $isOutOfBand);
     } catch (ConnectionException $e) {
         $this->setDisconnectedState();
         throw $e;
     }
 }
Ejemplo n.º 2
0
 /** {@inheritdoc} */
 public function write($data, $isOutOfBand = false)
 {
     return $this->ioInterface->write($data, $this->context, $isOutOfBand);
 }