Skip to content

Commit

Permalink
Move packages reactivestreams, rx, reactor into ext (extensions to ot…
Browse files Browse the repository at this point in the history
…her libraries)
  • Loading branch information
SgtSilvio committed Nov 19, 2023
1 parent 0c9fad3 commit 0b0ba62
Show file tree
Hide file tree
Showing 38 changed files with 59 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import com.hivemq.mqtt.client2.reactivestreams.PublisherWithSingle;
import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.ext.reactivestreams.PublisherWithSingle;
import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import org.jetbrains.annotations.NotNull;
import org.reactivestreams.Publisher;
import org.reactivestreams.Subscriber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import reactor.core.CoreSubscriber;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import com.hivemq.mqtt.client2.ext.reactivestreams.PublisherWithSingle;
import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.internal.util.Checks;
import com.hivemq.mqtt.client2.reactivestreams.PublisherWithSingle;
import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.reactivestreams.Subscriber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import com.hivemq.mqtt.client2.reactivestreams.PublisherWithSingle;
import com.hivemq.mqtt.client2.ext.reactivestreams.PublisherWithSingle;
import org.jetbrains.annotations.NotNull;
import reactor.core.CoreSubscriber;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import com.hivemq.mqtt.client2.internal.util.Checks;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import org.jetbrains.annotations.NotNull;
import reactor.core.CoreSubscriber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import reactor.core.Fuseable;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.reactivestreams.Subscription;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.hivemq.mqtt.client2.internal.reactor;

import com.hivemq.mqtt.client2.MqttGlobalPublishFilter;
import com.hivemq.mqtt.client2.ext.reactor.FluxWithSingle;
import com.hivemq.mqtt.client2.internal.message.connect.MqttConnect;
import com.hivemq.mqtt.client2.internal.message.connect.MqttConnectBuilder;
import com.hivemq.mqtt.client2.internal.message.disconnect.MqttDisconnect;
Expand All @@ -37,7 +38,6 @@
import com.hivemq.mqtt.client2.mqtt5.message.unsubscribe.Mqtt5UnsubAck;
import com.hivemq.mqtt.client2.mqtt5.message.unsubscribe.Mqtt5Unsubscribe;
import com.hivemq.mqtt.client2.mqtt5.reactor.Mqtt5ReactorClient;
import com.hivemq.mqtt.client2.reactor.FluxWithSingle;
import io.reactivex.rxjava3.core.Flowable;
import org.jetbrains.annotations.NotNull;
import org.reactivestreams.Publisher;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.hivemq.mqtt.client2.internal.reactor.mqtt3;

import com.hivemq.mqtt.client2.MqttGlobalPublishFilter;
import com.hivemq.mqtt.client2.ext.reactor.FluxWithSingle;
import com.hivemq.mqtt.client2.internal.message.connect.mqtt3.Mqtt3ConnectView;
import com.hivemq.mqtt.client2.internal.message.connect.mqtt3.Mqtt3ConnectViewBuilder;
import com.hivemq.mqtt.client2.internal.message.subscribe.mqtt3.Mqtt3SubscribeViewBuilder;
Expand All @@ -34,7 +35,6 @@
import com.hivemq.mqtt.client2.mqtt3.message.unsubscribe.Mqtt3UnsubAck;
import com.hivemq.mqtt.client2.mqtt3.message.unsubscribe.Mqtt3Unsubscribe;
import com.hivemq.mqtt.client2.mqtt3.reactor.Mqtt3ReactorClient;
import com.hivemq.mqtt.client2.reactor.FluxWithSingle;
import io.reactivex.rxjava3.core.Flowable;
import org.jetbrains.annotations.NotNull;
import org.reactivestreams.Publisher;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.hivemq.mqtt.client2.mqtt3.reactor;

import com.hivemq.mqtt.client2.MqttGlobalPublishFilter;
import com.hivemq.mqtt.client2.ext.reactor.FluxWithSingle;
import com.hivemq.mqtt.client2.internal.reactor.mqtt3.Mqtt3ReactorClientView;
import com.hivemq.mqtt.client2.mqtt3.Mqtt3Client;
import com.hivemq.mqtt.client2.mqtt3.message.connect.Mqtt3ConnAck;
Expand All @@ -30,7 +31,6 @@
import com.hivemq.mqtt.client2.mqtt3.message.unsubscribe.Mqtt3UnsubAck;
import com.hivemq.mqtt.client2.mqtt3.message.unsubscribe.Mqtt3Unsubscribe;
import com.hivemq.mqtt.client2.mqtt3.message.unsubscribe.Mqtt3UnsubscribeBuilder;
import com.hivemq.mqtt.client2.reactor.FluxWithSingle;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.CheckReturnValue;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.hivemq.mqtt.client2.mqtt5.reactor;

import com.hivemq.mqtt.client2.MqttGlobalPublishFilter;
import com.hivemq.mqtt.client2.ext.reactor.FluxWithSingle;
import com.hivemq.mqtt.client2.internal.reactor.MqttReactorClient;
import com.hivemq.mqtt.client2.mqtt5.Mqtt5Client;
import com.hivemq.mqtt.client2.mqtt5.message.connect.Mqtt5ConnAck;
Expand All @@ -32,7 +33,6 @@
import com.hivemq.mqtt.client2.mqtt5.message.unsubscribe.Mqtt5UnsubAck;
import com.hivemq.mqtt.client2.mqtt5.message.unsubscribe.Mqtt5Unsubscribe;
import com.hivemq.mqtt.client2.mqtt5.message.unsubscribe.Mqtt5UnsubscribeBuilder;
import com.hivemq.mqtt.client2.reactor.FluxWithSingle;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.CheckReturnValue;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.reactivestreams.Subscriber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactor;
package com.hivemq.mqtt.client2.ext.reactor;

import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.function.ThrowingSupplier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactivestreams;
package com.hivemq.mqtt.client2.ext.reactivestreams;

import org.jetbrains.annotations.NotNull;
import org.reactivestreams.Publisher;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.reactivestreams;
package com.hivemq.mqtt.client2.ext.reactivestreams;

import org.jetbrains.annotations.NotNull;
import org.reactivestreams.Subscriber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.rx;
package com.hivemq.mqtt.client2.ext.rx;

import com.hivemq.mqtt.client2.ext.reactivestreams.PublisherWithSingle;
import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.internal.util.Checks;
import com.hivemq.mqtt.client2.reactivestreams.PublisherWithSingle;
import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import io.reactivex.rxjava3.annotations.BackpressureKind;
import io.reactivex.rxjava3.annotations.BackpressureSupport;
import io.reactivex.rxjava3.annotations.SchedulerSupport;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.rx;
package com.hivemq.mqtt.client2.ext.rx;

import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import io.reactivex.rxjava3.core.Flowable;
import io.reactivex.rxjava3.internal.util.BackpressureHelper;
import io.reactivex.rxjava3.operators.ConditionalSubscriber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.rx;
package com.hivemq.mqtt.client2.ext.rx;

import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.internal.util.Checks;
import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import io.reactivex.rxjava3.exceptions.Exceptions;
import io.reactivex.rxjava3.functions.Function;
import io.reactivex.rxjava3.operators.ConditionalSubscriber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.rx;
package com.hivemq.mqtt.client2.ext.rx;

import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.internal.util.Checks;
import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import io.reactivex.rxjava3.core.FlowableSubscriber;
import io.reactivex.rxjava3.exceptions.CompositeException;
import io.reactivex.rxjava3.exceptions.Exceptions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.rx;
package com.hivemq.mqtt.client2.ext.rx;

import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import io.reactivex.rxjava3.core.Scheduler;
import org.jetbrains.annotations.NotNull;
import org.reactivestreams.Subscriber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.rx;
package com.hivemq.mqtt.client2.ext.rx;

import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.rx;
package com.hivemq.mqtt.client2.ext.rx;

import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import io.reactivex.rxjava3.core.FlowableSubscriber;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.rx;
package com.hivemq.mqtt.client2.ext.rx;

import io.reactivex.rxjava3.operators.ConditionalSubscriber;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.hivemq.mqtt.client2.rx;
package com.hivemq.mqtt.client2.ext.rx;

import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import io.reactivex.rxjava3.internal.subscriptions.SubscriptionHelper;
import io.reactivex.rxjava3.internal.util.BackpressureHelper;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.hivemq.mqtt.client2.internal;

import com.hivemq.mqtt.client2.MqttGlobalPublishFilter;
import com.hivemq.mqtt.client2.ext.rx.FlowableWithSingle;
import com.hivemq.mqtt.client2.internal.handler.auth.MqttReAuthCompletable;
import com.hivemq.mqtt.client2.internal.handler.connect.MqttConnAckSingle;
import com.hivemq.mqtt.client2.internal.handler.disconnect.MqttDisconnectCompletable;
Expand Down Expand Up @@ -48,7 +49,6 @@
import com.hivemq.mqtt.client2.mqtt5.message.subscribe.Mqtt5Subscribe;
import com.hivemq.mqtt.client2.mqtt5.message.unsubscribe.Mqtt5UnsubAck;
import com.hivemq.mqtt.client2.mqtt5.message.unsubscribe.Mqtt5Unsubscribe;
import com.hivemq.mqtt.client2.rx.FlowableWithSingle;
import io.reactivex.rxjava3.core.Completable;
import io.reactivex.rxjava3.core.Flowable;
import io.reactivex.rxjava3.core.Scheduler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

package com.hivemq.mqtt.client2.internal.handler.publish.incoming;

import com.hivemq.mqtt.client2.ext.rx.FlowableWithSingleSubscriber;
import com.hivemq.mqtt.client2.internal.MqttClientConfig;
import com.hivemq.mqtt.client2.internal.collections.HandleList;
import com.hivemq.mqtt.client2.internal.datatypes.MqttTopicFilterImpl;
import com.hivemq.mqtt.client2.internal.handler.subscribe.MqttSubscriptionFlow;
import com.hivemq.mqtt.client2.internal.message.subscribe.MqttSubAck;
import com.hivemq.mqtt.client2.mqtt5.message.publish.Mqtt5Publish;
import com.hivemq.mqtt.client2.mqtt5.message.subscribe.Mqtt5SubAck;
import com.hivemq.mqtt.client2.rx.FlowableWithSingleSubscriber;
import org.jetbrains.annotations.NotNull;
import org.reactivestreams.Subscriber;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

package com.hivemq.mqtt.client2.internal.handler.publish.incoming;

import com.hivemq.mqtt.client2.ext.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.ext.rx.FlowableWithSingle;
import com.hivemq.mqtt.client2.internal.MqttClientConfig;
import com.hivemq.mqtt.client2.internal.handler.subscribe.MqttSubscriptionHandler;
import com.hivemq.mqtt.client2.internal.ioc.ClientComponent;
import com.hivemq.mqtt.client2.internal.message.subscribe.MqttSubscribe;
import com.hivemq.mqtt.client2.mqtt5.message.publish.Mqtt5Publish;
import com.hivemq.mqtt.client2.mqtt5.message.subscribe.Mqtt5SubAck;
import com.hivemq.mqtt.client2.reactivestreams.WithSingleSubscriber;
import com.hivemq.mqtt.client2.rx.FlowableWithSingle;
import org.jetbrains.annotations.NotNull;
import org.reactivestreams.Subscriber;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.hivemq.mqtt.client2.internal.mqtt3;

import com.hivemq.mqtt.client2.MqttGlobalPublishFilter;
import com.hivemq.mqtt.client2.ext.rx.FlowableWithSingle;
import com.hivemq.mqtt.client2.internal.MqttRxClient;
import com.hivemq.mqtt.client2.internal.exceptions.mqtt3.Mqtt3ExceptionFactory;
import com.hivemq.mqtt.client2.internal.message.connect.MqttConnect;
Expand Down Expand Up @@ -49,7 +50,6 @@
import com.hivemq.mqtt.client2.mqtt5.message.publish.Mqtt5PublishResult;
import com.hivemq.mqtt.client2.mqtt5.message.subscribe.Mqtt5SubAck;
import com.hivemq.mqtt.client2.mqtt5.message.unsubscribe.Mqtt5UnsubAck;
import com.hivemq.mqtt.client2.rx.FlowableWithSingle;
import io.reactivex.rxjava3.core.Completable;
import io.reactivex.rxjava3.core.Flowable;
import io.reactivex.rxjava3.core.Single;
Expand Down
Loading

0 comments on commit 0b0ba62

Please sign in to comment.