Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
PHPDaemon
Network
IOStream
setContext
PHPDaemon\Network\IOStream::setContext PHP 메소드
IOStream 1 문서
파일 보기
프로젝트 열기: kakserpom/phpdaemon
setContext()
공개
메소드
Sets context mode
public
setContext
(
object
$ctx
,
integer
$mode
) :
void
$ctx
object
Context
$mode
integer
Mode
리턴
void
public function setContext($ctx, $mode) { $this->ctx = $ctx; $this->ctxMode = $mode; }
IOStream
__construct
__get
close
drain
drainIfMatch
finish
freezeInput
freezeOutput
getBev
getFd
getInputLength
gracefulShutdown
init
isFinished
isFreed
log
look
lookExact
moveToBuffer
onFinish
onRead
onReadEv
onReady
onStateEv
onWrite
onWriteEv
onWriteOnce
prependInput
prependOutput
read
readExact
readLine
readUnlimited
search
setContext
setFd
setPriority
setTimeout
setTimeouts
setWatermark
substr
unfreezeInput
unfreezeOutput
unsetFd
write
writeFromBuffer
writeln