Php/docs/class.zmqsocket
From Get docs
(No version information available, might only be in Git)
Introduction
Class synopsis
ZMQSocket {
__construct
( ZMQContext $context
, int $type
[, string $persistent_id
= NULL
[, callable $on_new_socket
= NULL
]] )
public disconnect
( string $dsn
) : ZMQSocket
public getEndpoints ( ) : array
public getPersistentId ( ) : string
public getSocketType ( ) : int
public getSockOpt
( string $key
) : mixed
public isPersistent ( ) : bool
public recv
([ int $mode
= 0
] ) : string
public recvMulti
([ int $mode
= 0
] ) : array
public setSockOpt
( int $key
, mixed $value
) : ZMQSocket
}
Table of Contents
- ZMQSocket::bind — Bind the socket
- ZMQSocket::connect — Connect the socket
- ZMQSocket::__construct — Construct a new ZMQSocket
- ZMQSocket::disconnect — Disconnect a socket
- ZMQSocket::getEndpoints — Get list of endpoints
- ZMQSocket::getPersistentId — Get the persistent id
- ZMQSocket::getSocketType — Get the socket type
- ZMQSocket::getSockOpt — Get socket option
- ZMQSocket::isPersistent — Whether the socket is persistent
- ZMQSocket::recv — Receives a message
- ZMQSocket::recvMulti — Receives a multipart message
- ZMQSocket::send — Sends a message
- ZMQSocket::sendmulti — Sends a multipart message
- ZMQSocket::setSockOpt — Set a socket option
- ZMQSocket::unbind — Unbind the socket
/* Methods */