コード例 #1
0
ファイル: StatefulStomp.php プロジェクト: stomp-php/stomp-php
 /**
  * Read a frame
  *
  * @return \Stomp\Transport\Frame|false
  */
 public function read()
 {
     return $this->state->read();
 }
コード例 #2
-1
ファイル: StateTemplate.php プロジェクト: stomp-php/stomp-php
 /**
  * @inheritdoc
  */
 protected function setState(IStateful $state, array $options = [])
 {
     $init = null;
     if ($state instanceof StateTemplate) {
         $init = $state->init($options);
     }
     $this->base->setState($state);
     return $init;
 }