MCPcopy Create free account
hub / github.com/apache/thrift / isOpen

Method isOpen

lib/php/lib/Transport/TSocket.php:203–206  ·  view source on GitHub ↗

* Tests whether this is open * * @return bool true if the socket is open */

()

Source from the content-addressed store, hash-verified

201 * @return bool true if the socket is open
202 */
203 public function isOpen()
204 {
205 return is_resource($this->handle_);
206 }
207
208 /**
209 * Connects the socket.

Callers 12

openMethod · 0.95
testIsOpenMethod · 0.45
testOpenWithContextMethod · 0.45
testCloseMethod · 0.45
testOpenPersistMethod · 0.45
testOpenThrift5132Method · 0.45
testSetHandleMethod · 0.45
testIsOpenMethod · 0.45
testIsOpenMethod · 0.45
testIsOpenMethod · 0.45
testIsOpenMethod · 0.45
testIsOpenMethod · 0.45

Calls

no outgoing calls

Tested by 11

testIsOpenMethod · 0.36
testOpenWithContextMethod · 0.36
testCloseMethod · 0.36
testOpenPersistMethod · 0.36
testOpenThrift5132Method · 0.36
testSetHandleMethod · 0.36
testIsOpenMethod · 0.36
testIsOpenMethod · 0.36
testIsOpenMethod · 0.36
testIsOpenMethod · 0.36
testIsOpenMethod · 0.36