PHP Class Prose\UsingZmqSocket

Inheritance: extends ZmqSocketBase
显示文件 Open project: datasift/storyplayer

Public Methods

Method Description
bindToPort ( $port, $sendHwm = 100, $recvHwm = 100 )
close ( )
connectToHost ( $hostId, $port, $sendHwm = 100, $recvHwm = 100 )
disconnectFromAllHosts ( )
disconnectFromHost ( $hostId, $port )
send ( $message, $timeout = null )
sendMulti ( $message, $timeout = null )
sendMultiNonBlocking ( $message )
sendNonBlocking ( $message )
unbindFromAllPorts ( )
unbindFromPort ( $port )

Method Details

bindToPort() public method

public bindToPort ( $port, $sendHwm = 100, $recvHwm = 100 )

close() public method

public close ( )

connectToHost() public method

public connectToHost ( $hostId, $port, $sendHwm = 100, $recvHwm = 100 )

disconnectFromAllHosts() public method

disconnectFromHost() public method

public disconnectFromHost ( $hostId, $port )

send() public method

public send ( $message, $timeout = null )

sendMulti() public method

public sendMulti ( $message, $timeout = null )

sendMultiNonBlocking() public method

public sendMultiNonBlocking ( $message )

sendNonBlocking() public method

public sendNonBlocking ( $message )

unbindFromAllPorts() public method

public unbindFromAllPorts ( )

unbindFromPort() public method

public unbindFromPort ( $port )