File tree Expand file tree Collapse file tree
java/srcPubnubApi/com/pubnub/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2377,9 +2377,13 @@ public void handleTimeout(HttpRequest hreq) {
23772377 : "0" ;
23782378 log .verbose ("Timeout Timetoken : " + timeoutTimetoken );
23792379 channelSubscriptions .invokeDisconnectCallbackOnItems (timeoutTimetoken );
2380+ channelGroupSubscriptions .invokeDisconnectCallbackOnItems (timeoutTimetoken );
23802381 channelSubscriptions .invokeErrorCallbackOnItems (
23812382 PubnubError .getErrorObject (PubnubError .PNERROBJ_TIMEOUT , 1 )
23822383 );
2384+ channelGroupSubscriptions .invokeErrorCallbackOnItems (
2385+ PubnubError .getErrorObject (PubnubError .PNERROBJ_TIMEOUT , 1 )
2386+ );
23832387 // disconnectAndResubscribe();
23842388
23852389 // channelSubscriptions.removeAllItems();
@@ -2523,6 +2527,7 @@ public void disconnectAndResubscribeWithTimetoken(String timetoken,
25232527 PubnubError error ) {
25242528 log .verbose ("Received disconnectAndResubscribeWithTimetoken" );
25252529 channelSubscriptions .invokeErrorCallbackOnItems (error );
2530+ channelGroupSubscriptions .invokeErrorCallbackOnItems (error );
25262531 resubscribe (timetoken );
25272532 }
25282533
@@ -2541,6 +2546,7 @@ public void disconnectAndResubscribe() {
25412546 public void disconnectAndResubscribe (PubnubError error ) {
25422547 log .verbose ("Received disconnectAndResubscribe" );
25432548 channelSubscriptions .invokeErrorCallbackOnItems (error );
2549+ channelGroupSubscriptions .invokeErrorCallbackOnItems (error );
25442550 resubscribe ();
25452551 }
25462552
You can’t perform that action at this time.
0 commit comments