|
55 | 55 |
|
56 | 56 | -behaviour(gen_server2). |
57 | 57 |
|
58 | | --export([start_link/12, do/2, do/3, do_flow/3, flush/1, shutdown/1]). |
| 58 | +-export([start_link/11, start_link/12, do/2, do/3, do_flow/3, flush/1, shutdown/1]). |
59 | 59 | -export([send_command/2, deliver/4, deliver_reply/2, |
60 | 60 | send_credit_reply/2, send_drained/2]). |
61 | 61 | -export([list/0, info_keys/0, info/1, info/2, info_all/0, info_all/1, |
|
237 | 237 |
|
238 | 238 | %%---------------------------------------------------------------------------- |
239 | 239 |
|
| 240 | +-spec start_link |
| 241 | + (channel_number(), pid(), pid(), pid(), string(), rabbit_types:protocol(), |
| 242 | + rabbit_types:user(), rabbit_types:vhost(), rabbit_framing:amqp_table(), |
| 243 | + pid(), pid()) -> |
| 244 | + rabbit_types:ok_pid_or_error(). |
| 245 | + |
| 246 | +start_link(Channel, ReaderPid, WriterPid, ConnPid, ConnName, Protocol, User, |
| 247 | + VHost, Capabilities, CollectorPid, Limiter) -> |
| 248 | + start_link(Channel, ReaderPid, WriterPid, ConnPid, ConnName, Protocol, User, |
| 249 | + VHost, Capabilities, CollectorPid, Limiter, undefined). |
| 250 | + |
240 | 251 | -spec start_link |
241 | 252 | (channel_number(), pid(), pid(), pid(), string(), rabbit_types:protocol(), |
242 | 253 | rabbit_types:user(), rabbit_types:vhost(), rabbit_framing:amqp_table(), |
|
0 commit comments