class documentation
class AmqpProtocol(AMQClient): (source)
The protocol is created and destroyed each time a connection is created and lost.
| Method | connection |
Called when a connection has been made. |
| Method | read |
Add an exchange to the list of exchanges to read from. |
| Method | send |
If connected, send all waiting messages. |
| Method | setup |
This function does the work to read from an exchange. |
| Instance Variable | chan |
Undocumented |
| Instance Variable | connected |
Undocumented |
| Method | _authenticated |
Called when the connection has been authenticated. |
| Method | _authentication |
Undocumented |
| Method | _channel |
Called when the channel is open. |
| Method | _channel |
Undocumented |
| Method | _got |
Undocumented |
| Method | _got |
Undocumented |
| Method | _read |
Callback function which is called when an item is read. |
| Method | _read |
Undocumented |
| Method | _send |
Send a single message. |
| Method | _send |
Undocumented |