implement Java API for subscribeToAll and subscribeToAllFrom