interceptor = $interceptor; $this->next = $channel; } public function getNext() { return $this->next; } public function getInterceptor() { return $this->interceptor; } public function getTarget() { return $this->getNext()->getTarget(); } public function watchConnectivityState($new_state, $deadline) { return $this->getNext()->watchConnectivityState($new_state, $deadline); } public function getConnectivityState($try_to_connect = false) { return $this->getNext()->getConnectivityState($try_to_connect); } public function close() { return $this->getNext()->close(); } }