Shared Subscription CLI

This commit is contained in:
huangdan 2016-12-08 18:06:48 +08:00
parent 7abc667f7d
commit 470a933938
1 changed files with 4 additions and 0 deletions

View File

@ -528,6 +528,10 @@ print({ClientId, _ClientPid, _Persistent, SessInfo}) ->
print(subscription, {Sub, Topic}) when is_pid(Sub) ->
?PRINT("~p -> ~s~n", [Sub, Topic]);
print(subscription, {Sub, {_Share, Topic}}) when is_pid(Sub) ->
?PRINT("~p -> ~s~n", [Sub, Topic]);
print(subscription, {Sub, {_Share, Topic}}) ->
?PRINT("~s -> ~s~n", [Sub, Topic]);
print(subscription, {Sub, Topic}) ->
?PRINT("~s -> ~s~n", [Sub, Topic]).