@@ 158-165 (lines=8) @@ | ||
155 | * @param array $args |
|
156 | * @param callable $cb |
|
157 | */ |
|
158 | public function sendBroadcastCall($appInstance, $method, $args = [], $cb = null) |
|
159 | { |
|
160 | $this->sendPacket([ |
|
161 | 'op' => 'broadcastCall', |
|
162 | 'appfullname' => $appInstance, |
|
163 | 'method' => $method, |
|
164 | 'args' => $args, |
|
165 | ]); |
|
166 | } |
|
167 | ||
168 | /** |
|
@@ 175-182 (lines=8) @@ | ||
172 | * @param array $args |
|
173 | * @param callable $cb |
|
174 | */ |
|
175 | public function sendSingleCall($appInstance, $method, $args = [], $cb = null) |
|
176 | { |
|
177 | $this->sendPacket([ |
|
178 | 'op' => 'singleCall', |
|
179 | 'appfullname' => $appInstance, |
|
180 | 'method' => $method, |
|
181 | 'args' => $args, |
|
182 | ]); |
|
183 | } |
|
184 | ||
185 | /** |