Method |
Description |
|
__construct ( array $credentials = [] ) |
Create an instance of AMQPConnection. |
|
connect ( ) : boolean |
Establish a transient connection with the AMQP broker. |
|
disconnect ( ) : boolean |
Closes the transient connection with the AMQP broker. |
|
getCACert ( ) : string |
Get path to the CA cert file in PEM format |
|
getCert ( ) : string |
Get path to the client certificate in PEM format |
|
getHeartbeatInterval ( ) : integer |
Get number of seconds between heartbeats of the connection in seconds. |
|
getHost ( ) : string |
Get the configured host. |
|
getKey ( ) : string |
Get path to the client key in PEM format |
|
getLogin ( ) : string |
Get the configured login. |
|
getMaxChannels ( ) : integer |
Get the maximum number of channels the connection can handle. |
|
getMaxFrameSize ( ) : integer |
Get max supported frame size per connection in bytes. |
|
getPassword ( ) : string |
Get the configured password. |
|
getPort ( ) : integer |
Get the configured port. |
|
getReadTimeout ( ) : float |
Get the configured interval of time to wait for income activity
from AMQP broker |
|
getTimeout ( ) : float |
Get the configured interval of time to wait for income activity
from AMQP broker |
|
getUsedChannels ( ) : integer |
Return last used channel id during current connection session. |
|
getVerify ( ) : boolean |
Get whether peer verification enabled or disabled |
|
getVhost ( ) : string |
Get the configured vhost. |
|
getWriteTimeout ( ) : float |
Get the configured interval of time to wait for outcome activity
to AMQP broker |
|
isConnected ( ) : boolean |
Check whether the connection to the AMQP broker is still valid. |
|
isPersistent ( ) : boolean |
Whether connection persistent. |
|
pconnect ( ) : boolean |
Establish a persistent connection with the AMQP broker. |
|
pdisconnect ( ) : boolean |
Closes a persistent connection with the AMQP broker. |
|
preconnect ( ) : boolean |
Close any open persistent connections and initiate a new one with the AMQP broker. |
|
reconnect ( ) : boolean |
Close any open transient connections and initiate a new one with the AMQP broker. |
|
setCACert ( string $cacert ) |
Set path to the CA cert file in PEM format |
|
setCert ( string $cert ) |
Set path to the client certificate in PEM format |
|
setHost ( string $host ) : boolean |
Set the hostname used to connect to the AMQP broker. |
|
setKey ( string $key ) |
Set path to the client key in PEM format |
|
setLogin ( string $login ) : boolean |
Set the login string used to connect to the AMQP broker. |
|
setPassword ( string $password ) : boolean |
Set the password string used to connect to the AMQP broker. |
|
setPort ( integer $port ) : boolean |
Set the port used to connect to the AMQP broker. |
|
setReadTimeout ( integer $timeout ) : boolean |
Sets the interval of time to wait for income activity from AMQP broker |
|
setTimeout ( integer $timeout ) : boolean |
Sets the interval of time to wait for income activity from AMQP broker |
|
setVerify ( boolean $verify ) |
Enable or disable peer verification |
|
setVhost ( string $vhost ) : boolean |
Sets the virtual host to which to connect on the AMQP broker. |
|
setWriteTimeout ( integer $timeout ) : boolean |
Sets the interval of time to wait for outcome activity to AMQP broker |
|