Added open, close, and isOpen to TFramedTransport
authorrobert <dev-null@apache.org>
Mon, 15 Jan 2007 18:29:51 +0000 (18:29 +0000)
committerrobert <dev-null@apache.org>
Mon, 15 Jan 2007 18:29:51 +0000 (18:29 +0000)
reviewed: mcslee
revert: yes

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664911 13f79535-47bb-0310-9956-ffa450edef68

lib/php/src/transport/TFramedTransport.php

index 31cb376..8dae135 100644 (file)
@@ -55,6 +55,18 @@ class TFramedTransport extends TTransport {
     $this->write_ = $write;
   }
 
+  public function isOpen() {
+    return $this->transport_->isOpen();
+  }
+
+  public function open() {
+    $this->transport_->open();
+  }
+
+  public function close() {
+    $this->transport_->close();
+  }
+
   /**
    * Reads from the buffer. When more data is required reads another entire
    * chunk and serves future reads out of that.