code: public void broadcastConnectionState(DDPSTATE ddpstate) {
          Intent broadcastIntent = new Intent();
          broadcastIntent.setAction(MESSAGE_CONNECTION);
          broadcastIntent.putExtra(MESSAGE_EXTRA_STATE, ddpstate.ordinal());
          broadcastIntent.putExtra(MESSAGE_EXTRA_USERID, mUserId);
          broadcastIntent.putExtra(MESSAGE_EXTRA_USERTOKEN, mResumeToken);
          LocalBroadcastManager.getInstance(mContext)
                  .sendBroadcast(broadcastIntent);
      }
docs: Used to notify event system of connection events.
  Default behavior uses Android's LocalBroadcastManager.
  Override if you want to use a different eventbus.
  @param ddpstate current DDP state