@@ -18,27 +18,32 @@ class AMQPChannel extends AbstractChannel
1818 */
1919 public $ callbacks = array ();
2020
21+ /**
22+ * Whether or not the channel has been "opened" or not
23+ *
24+ * @var bool
25+ */
26+ protected $ is_open = false ;
27+
2128 /**
2229 * @var int
2330 */
24- private $ next_delivery_tag = 0 ;
31+ protected $ default_ticket ;
2532
2633 /**
27- * @var Callable
34+ * @var bool
2835 */
29- private $ ack_handler = null ;
36+ protected $ active ;
3037
3138 /**
32- * @var Callable
39+ * @var array
3340 */
34- private $ nack_handler = null ;
41+ protected $ alerts ;
3542
3643 /**
37- * If the channel is in confirm_publish mode this array will store all published messages
38- * until they get ack'ed or nack'ed
39- * @var AMQPMessage[]
44+ * @var bool
4045 */
41- private $ published_messages = array () ;
46+ protected $ auto_decode ;
4247
4348 /**
4449 * These parameters will be passed to function in case of basic_return:
@@ -60,6 +65,29 @@ class AMQPChannel extends AbstractChannel
6065 */
6166 protected $ batch_messages = array ();
6267
68+ /**
69+ * If the channel is in confirm_publish mode this array will store all published messages
70+ * until they get ack'ed or nack'ed
71+ *
72+ * @var AMQPMessage[]
73+ */
74+ private $ published_messages = array ();
75+
76+ /**
77+ * @var int
78+ */
79+ private $ next_delivery_tag = 0 ;
80+
81+ /**
82+ * @var callable
83+ */
84+ private $ ack_handler = null ;
85+
86+ /**
87+ * @var callable
88+ */
89+ private $ nack_handler = null ;
90+
6391 /**
6492 * Circular buffer to speed up both basic_publish() and publish_batch().
6593 * Max size limited by $publish_cache_max_size.
@@ -75,12 +103,6 @@ class AMQPChannel extends AbstractChannel
75103 */
76104 private $ publish_cache_max_size ;
77105
78- /**
79- * Whether or not the channel has been "opened" or not
80- * @var bool
81- */
82- protected $ is_open = false ;
83-
84106
85107 public function __construct ($ connection , $ channel_id = null , $ auto_decode = true )
86108 {
0 commit comments