Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
PHP Net_SSH2::_close_channel示例
编程语言:
PHP
类/类型:
Net_SSH2
方法/功能:
_close_channel
hotexamples.com的示例:
1
PHP Net_SSH2::_close_channel - 已找到1个示例
。这些是从开源项目中提取的最受好评的
Net_SSH2::_close_channel
来自程序包 TeamPass现实PHP示例。您可以评价示例,以帮助我们提高示例质量。
常用方法
显示
隐藏
exec(30)
login(30)
read(19)
write(17)
setTimeout(17)
disconnect(7)
getExitStatus(5)
enablePTY(5)
getLog(4)
getErrors(4)
Net_SSH2(4)
enableQuietMode(3)
getMessage(3)
isConnected(2)
__construct(2)
getLastError(2)
_get_channel_packet(2)
getStdError(2)
__destruct(1)
reset(1)
_close_channel(1)
_disconnect(1)
disablePTY(1)
getServerPublicHostKey(1)
_get_open_channel(1)
_send_binary_packet(1)
_send_channel_packet(1)
factory(1)
常用方法
exec (30)
login (30)
read (19)
write (17)
setTimeout (17)
disconnect (7)
getExitStatus (5)
enablePTY (5)
getLog (4)
getErrors (4)
常用方法
Net_SSH2 (4)
enableQuietMode (3)
getMessage (3)
isConnected (2)
__construct (2)
getLastError (2)
_get_channel_packet (2)
getStdError (2)
__destruct (1)
reset (1)
_close_channel (1)
_disconnect (1)
disablePTY (1)
getServerPublicHostKey (1)
_get_open_channel (1)
_send_binary_packet (1)
_send_channel_packet (1)
factory (1)
常用方法
_close_channel (1)
_disconnect (1)
disablePTY (1)
getServerPublicHostKey (1)
_get_open_channel (1)
_send_binary_packet (1)
_send_channel_packet (1)
factory (1)
_close_channel()
public
method
Net_SSH2 doesn't properly close most channels. For exec() channels are normally closed by the server and for SFTP channels are presumably closed when the client disconnects. This functions is intended for SCP more than anything.
public
_close_channel
(
integer
$client_channel
,
boolean
$want_reply
= false ) :
boolean
$client_channel
integer
$want_reply
boolean
return
boolean
Net_SSH2 Class Documentation
示例#1
0
显示文件
文件:
Client.php
项目:
uwem/objref-remotebundle
public function closeChannel() { $this->ssh->_close_channel(NET_SSH2_CHANNEL_EXEC); }