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

Method setHandle

lib/php/lib/Transport/TSocket.php:138–142  ·  view source on GitHub ↗

* @param resource $handle * @return void */

($handle)

Source from the content-addressed store, hash-verified

136 * @return void
137 */
138 public function setHandle($handle)
139 {
140 $this->handle_ = $handle;
141 stream_set_blocking($this->handle_, false);
142 }
143
144 /**
145 * Sets the send timeout.

Callers 8

acceptImplMethod · 0.45
acceptImplMethod · 0.45
testSetHandleMethod · 0.45
testCloseMethod · 0.45
testWriteFailMethod · 0.45
testWriteMethod · 0.45
testReadMethod · 0.45
testReadFailMethod · 0.45

Calls

no outgoing calls

Tested by 6

testSetHandleMethod · 0.36
testCloseMethod · 0.36
testWriteFailMethod · 0.36
testWriteMethod · 0.36
testReadMethod · 0.36
testReadFailMethod · 0.36