AMQPConnectionConfig
in package
Tags
Table of Contents
- AUTH_AMQPPLAIN = 'AMQPLAIN'
- AUTH_EXTERNAL = 'EXTERNAL'
- AUTH_PLAIN = 'PLAIN'
- IO_TYPE_SOCKET = 'socket'
- IO_TYPE_STREAM = 'stream'
- $amqpProtocol : string
- $channelRPCTimeout : float
- $connectionName : string
- $connectionTimeout : float
- $debugPackets : bool
- Output all networks packets for debug purposes.
- $dispatchSignals : bool
- $heartbeat : int
- $host : string
- $insist : bool
- $ioType : string
- $isLazy : bool
- $isSecure : bool
- $keepalive : bool
- $locale : string
- $loginMethod : string
- $loginResponse : string|null
- $networkProtocol : string
- $password : string
- $port : int
- $protocolStrictFields : bool
- Whether to use strict AMQP0.9.1 field types. RabbitMQ does not support that.
- $readTimeout : float
- $sendBufferSize : int
- $sslCaCert : string|null
- $sslCaPath : string|null
- $sslCert : string|null
- $sslCiphers : string|null
- $sslCryptoMethod : int|null
- $sslKey : string|null
- $sslPassPhrase : string|null
- $sslSecurityLevel : int|null
- $sslVerify : bool|null
- $sslVerifyName : bool|null
- $streamContext : resource|null
- $user : string
- $vhost : string
- $writeTimeout : float
- enableSignalDispatch() : void
- getAMQPProtocol() : string
- getChannelRPCTimeout() : float
- getConnectionName() : string
- getConnectionTimeout() : float
- getHeartbeat() : int
- getHost() : string
- getIoType() : string
- getLocale() : string
- getLoginMethod() : string
- getLoginResponse() : string|null
- getNetworkProtocol() : string
- getPassword() : string
- getPort() : int
- getReadTimeout() : float
- getSendBufferSize() : int
- getSslCaCert() : string|null
- getSslCaPath() : string|null
- getSslCert() : string|null
- getSslCiphers() : string|null
- getSslCryptoMethod() : int|null
- getSslKey() : string|null
- getSslPassPhrase() : string|null
- getSslSecurityLevel() : int|null
- getSslVerify() : bool|null
- getSslVerifyName() : bool|null
- getStreamContext() : resource|null
- getUser() : string
- getVhost() : string
- getWriteTimeout() : float
- isDebugPackets() : bool
- isInsist() : bool
- isKeepalive() : bool
- isLazy() : bool
- isProtocolStrictFieldsEnabled() : bool
- isSecure() : bool
- isSignalsDispatchEnabled() : bool
- setAMQPProtocol() : void
- setChannelRPCTimeout() : void
- setConnectionName() : void
- setConnectionTimeout() : void
- setDebugPackets() : void
- setHeartbeat() : void
- setHost() : void
- setInsist() : void
- setIoType() : void
- Set which IO type will be used, stream or socket.
- setIsLazy() : void
- setIsSecure() : void
- setKeepalive() : void
- setLocale() : void
- setLoginMethod() : void
- setLoginResponse() : void
- setNetworkProtocol() : void
- setPassword() : void
- setPort() : void
- setProtocolStrictFields() : void
- setReadTimeout() : void
- setSendBufferSize() : void
- Socket send buffer size. Set 0 to keep system default.
- setSslCaCert() : void
- setSslCaPath() : void
- setSslCert() : void
- setSslCiphers() : void
- setSslCryptoMethod() : void
- setSslKey() : void
- setSslPassPhrase() : void
- setSslSecurityLevel() : void
- setSslVerify() : void
- setSslVerifyName() : void
- setStreamContext() : void
- setUser() : void
- setVhost() : void
- setWriteTimeout() : void
- assertGreaterOrEq() : void
- assertStringNotEmpty() : void
Constants
AUTH_AMQPPLAIN
public
mixed
AUTH_AMQPPLAIN
= 'AMQPLAIN'
AUTH_EXTERNAL
public
mixed
AUTH_EXTERNAL
= 'EXTERNAL'
AUTH_PLAIN
public
mixed
AUTH_PLAIN
= 'PLAIN'
IO_TYPE_SOCKET
public
mixed
IO_TYPE_SOCKET
= 'socket'
IO_TYPE_STREAM
public
mixed
IO_TYPE_STREAM
= 'stream'
Properties
$amqpProtocol
private
string
$amqpProtocol
= PhpAmqpLibWireConstants091::VERSION
Tags
$channelRPCTimeout
private
float
$channelRPCTimeout
= 0.0
$connectionName
private
string
$connectionName
= ''
$connectionTimeout
private
float
$connectionTimeout
= 3.0
$debugPackets
Output all networks packets for debug purposes.
private
bool
$debugPackets
= false
$dispatchSignals
private
bool
$dispatchSignals
= true
$heartbeat
private
int
$heartbeat
= 0
$host
private
string
$host
= '127.0.0.1'
$insist
private
bool
$insist
= false
$ioType
private
string
$ioType
= self::IO_TYPE_STREAM
$isLazy
private
bool
$isLazy
= false
$isSecure
private
bool
$isSecure
= false
$keepalive
private
bool
$keepalive
= false
$locale
private
string
$locale
= 'en_US'
$loginMethod
private
string
$loginMethod
= self::AUTH_AMQPPLAIN
$loginResponse
private
string|null
$loginResponse
$networkProtocol
private
string
$networkProtocol
= 'tcp'
Tags
$password
private
string
$password
= 'guest'
$port
private
int
$port
= 5672
$protocolStrictFields
Whether to use strict AMQP0.9.1 field types. RabbitMQ does not support that.
private
bool
$protocolStrictFields
= false
$readTimeout
private
float
$readTimeout
= 3.0
$sendBufferSize
private
int
$sendBufferSize
= 0
$sslCaCert
private
string|null
$sslCaCert
$sslCaPath
private
string|null
$sslCaPath
$sslCert
private
string|null
$sslCert
$sslCiphers
private
string|null
$sslCiphers
$sslCryptoMethod
private
int|null
$sslCryptoMethod
$sslKey
private
string|null
$sslKey
$sslPassPhrase
private
string|null
$sslPassPhrase
$sslSecurityLevel
private
int|null
$sslSecurityLevel
$sslVerify
private
bool|null
$sslVerify
$sslVerifyName
private
bool|null
$sslVerifyName
$streamContext
private
resource|null
$streamContext
$user
private
string
$user
= 'guest'
$vhost
private
string
$vhost
= '/'
$writeTimeout
private
float
$writeTimeout
= 3.0
Methods
enableSignalDispatch()
public
enableSignalDispatch(bool $dispatchSignals) : void
Parameters
- $dispatchSignals : bool
Return values
void —getAMQPProtocol()
public
getAMQPProtocol() : string
Tags
Return values
string —getChannelRPCTimeout()
public
getChannelRPCTimeout() : float
Return values
float —getConnectionName()
public
getConnectionName() : string
Return values
string —getConnectionTimeout()
public
getConnectionTimeout() : float
Return values
float —getHeartbeat()
public
getHeartbeat() : int
Return values
int —getHost()
public
getHost() : string
Return values
string —getIoType()
public
getIoType() : string
Return values
string —getLocale()
public
getLocale() : string
Return values
string —getLoginMethod()
public
getLoginMethod() : string
Return values
string —getLoginResponse()
public
getLoginResponse() : string|null
Return values
string|null —getNetworkProtocol()
public
getNetworkProtocol() : string
Tags
Return values
string —getPassword()
public
getPassword() : string
Return values
string —getPort()
public
getPort() : int
Return values
int —getReadTimeout()
public
getReadTimeout() : float
Return values
float —getSendBufferSize()
public
getSendBufferSize() : int
Tags
Return values
int —getSslCaCert()
public
getSslCaCert() : string|null
Return values
string|null —getSslCaPath()
public
getSslCaPath() : string|null
Return values
string|null —getSslCert()
public
getSslCert() : string|null
Return values
string|null —getSslCiphers()
public
getSslCiphers() : string|null
Return values
string|null —getSslCryptoMethod()
public
getSslCryptoMethod() : int|null
Return values
int|null —getSslKey()
public
getSslKey() : string|null
Return values
string|null —getSslPassPhrase()
public
getSslPassPhrase() : string|null
Return values
string|null —getSslSecurityLevel()
public
getSslSecurityLevel() : int|null
Return values
int|null —getSslVerify()
public
getSslVerify() : bool|null
Return values
bool|null —getSslVerifyName()
public
getSslVerifyName() : bool|null
Return values
bool|null —getStreamContext()
public
getStreamContext() : resource|null
Return values
resource|null —getUser()
public
getUser() : string
Return values
string —getVhost()
public
getVhost() : string
Return values
string —getWriteTimeout()
public
getWriteTimeout() : float
Return values
float —isDebugPackets()
public
isDebugPackets() : bool
Return values
bool —isInsist()
public
isInsist() : bool
Return values
bool —isKeepalive()
public
isKeepalive() : bool
Return values
bool —isLazy()
public
isLazy() : bool
Return values
bool —isProtocolStrictFieldsEnabled()
public
isProtocolStrictFieldsEnabled() : bool
Return values
bool —isSecure()
public
isSecure() : bool
Return values
bool —isSignalsDispatchEnabled()
public
isSignalsDispatchEnabled() : bool
Return values
bool —setAMQPProtocol()
public
setAMQPProtocol(string $protocol) : void
Parameters
- $protocol : string
Tags
Return values
void —setChannelRPCTimeout()
public
setChannelRPCTimeout(float $channelRPCTimeout) : void
Parameters
- $channelRPCTimeout : float
Return values
void —setConnectionName()
public
setConnectionName(string $connectionName) : void
Parameters
- $connectionName : string
Return values
void —setConnectionTimeout()
public
setConnectionTimeout(float $connectionTimeout) : void
Parameters
- $connectionTimeout : float
Return values
void —setDebugPackets()
public
setDebugPackets(bool $debugPackets) : void
Parameters
- $debugPackets : bool
Return values
void —setHeartbeat()
public
setHeartbeat(int $heartbeat) : void
Parameters
- $heartbeat : int
Return values
void —setHost()
public
setHost(string $host) : void
Parameters
- $host : string
Return values
void —setInsist()
public
setInsist(bool $insist) : void
Parameters
- $insist : bool
Return values
void —setIoType()
Set which IO type will be used, stream or socket.
public
setIoType(string $ioType) : void
Parameters
- $ioType : string
Return values
void —setIsLazy()
public
setIsLazy(bool $isLazy) : void
Parameters
- $isLazy : bool
Return values
void —setIsSecure()
public
setIsSecure(bool $isSecure) : void
Parameters
- $isSecure : bool
Return values
void —setKeepalive()
public
setKeepalive(bool $keepalive) : void
Parameters
- $keepalive : bool
Return values
void —setLocale()
public
setLocale(string $locale) : void
Parameters
- $locale : string
Return values
void —setLoginMethod()
public
setLoginMethod(string $loginMethod) : void
Parameters
- $loginMethod : string
Return values
void —setLoginResponse()
public
setLoginResponse(string $loginResponse) : void
Parameters
- $loginResponse : string
Return values
void —setNetworkProtocol()
public
setNetworkProtocol(string $networkProtocol) : void
Parameters
- $networkProtocol : string
Tags
Return values
void —setPassword()
public
setPassword(string $password) : void
Parameters
- $password : string
Return values
void —setPort()
public
setPort(int $port) : void
Parameters
- $port : int
Return values
void —setProtocolStrictFields()
public
setProtocolStrictFields(bool $protocolStrictFields) : void
Parameters
- $protocolStrictFields : bool
Return values
void —setReadTimeout()
public
setReadTimeout(float $readTimeout) : void
Parameters
- $readTimeout : float
Return values
void —setSendBufferSize()
Socket send buffer size. Set 0 to keep system default.
public
setSendBufferSize(int $sendBufferSize) : void
Parameters
- $sendBufferSize : int
Tags
Return values
void —setSslCaCert()
public
setSslCaCert(string|null $sslCaCert) : void
Parameters
- $sslCaCert : string|null
Return values
void —setSslCaPath()
public
setSslCaPath(string|null $sslCaPath) : void
Parameters
- $sslCaPath : string|null
Return values
void —setSslCert()
public
setSslCert(string|null $sslCert) : void
Parameters
- $sslCert : string|null
Return values
void —setSslCiphers()
public
setSslCiphers(string|null $sslCiphers) : void
Parameters
- $sslCiphers : string|null
Return values
void —setSslCryptoMethod()
public
setSslCryptoMethod(int|null $sslCryptoMethod) : void
Parameters
- $sslCryptoMethod : int|null
Return values
void —setSslKey()
public
setSslKey(string|null $sslKey) : void
Parameters
- $sslKey : string|null
Return values
void —setSslPassPhrase()
public
setSslPassPhrase(string|null $sslPassPhrase) : void
Parameters
- $sslPassPhrase : string|null
Return values
void —setSslSecurityLevel()
public
setSslSecurityLevel(int|null $sslSecurityLevel) : void
Parameters
- $sslSecurityLevel : int|null
Return values
void —setSslVerify()
public
setSslVerify(bool|null $sslVerify) : void
Parameters
- $sslVerify : bool|null
Return values
void —setSslVerifyName()
public
setSslVerifyName(bool|null $sslVerifyName) : void
Parameters
- $sslVerifyName : bool|null
Return values
void —setStreamContext()
public
setStreamContext(resource|null $streamContext) : void
Parameters
- $streamContext : resource|null
Return values
void —setUser()
public
setUser(string $user) : void
Parameters
- $user : string
Return values
void —setVhost()
public
setVhost(string $vhost) : void
Parameters
- $vhost : string
Return values
void —setWriteTimeout()
public
setWriteTimeout(float $writeTimeout) : void
Parameters
- $writeTimeout : float
Return values
void —assertGreaterOrEq()
private
static assertGreaterOrEq(int|float $value, int $limit, string $param) : void
Parameters
- $value : int|float
- $limit : int
- $param : string
Return values
void —assertStringNotEmpty()
private
static assertStringNotEmpty(mixed $value, string $param) : void
Parameters
- $value : mixed
- $param : string