Esempio n. 1
0
 /**
  * Read a frame
  *
  * @return \Stomp\Transport\Frame|false
  */
 public function read()
 {
     return $this->state->read();
 }
Esempio n. 2
-1
 /**
  * @inheritdoc
  */
 protected function setState(IStateful $state, array $options = [])
 {
     $init = null;
     if ($state instanceof StateTemplate) {
         $init = $state->init($options);
     }
     $this->base->setState($state);
     return $init;
 }