Uses of Interface
com.github.ddth.pubsub.ISubscriber
-
Packages that use ISubscriber Package Description com.github.ddth.pubsub com.github.ddth.pubsub.impl com.github.ddth.pubsub.impl.universal -
-
Uses of ISubscriber in com.github.ddth.pubsub
Methods in com.github.ddth.pubsub with parameters of type ISubscriber Modifier and Type Method Description voidIPubSubHub. subscribe(String channel, ISubscriber<ID,DATA> subscriber)Subscribe to a channel for messages.voidIPubSubHub. unsubscribe(String channel, ISubscriber<ID,DATA> subscriber)Unsubscribe from a channel. -
Uses of ISubscriber in com.github.ddth.pubsub.impl
Classes in com.github.ddth.pubsub.impl that implement ISubscriber Modifier and Type Class Description classCountingSubscriber<ID,DATA>Count number of received messages.Methods in com.github.ddth.pubsub.impl with parameters of type ISubscriber Modifier and Type Method Description voidInmemPubSubHub. subscribe(String channel, ISubscriber<ID,DATA> subscriber)Subscribe to a channel for messages.voidMongodbPubSubHub. subscribe(String channel, ISubscriber<ID,DATA> subscriber)Subscribe to a channel for messages.voidRedisPubSubHub. subscribe(String channel, ISubscriber<ID,DATA> subscriber)Subscribe to a channel for messages.voidInmemPubSubHub. unsubscribe(String channel, ISubscriber<ID,DATA> subscriber)Unsubscribe from a channel.voidMongodbPubSubHub. unsubscribe(String channel, ISubscriber<ID,DATA> subscriber)Unsubscribe from a channel.voidRedisPubSubHub. unsubscribe(String channel, ISubscriber<ID,DATA> subscriber)Unsubscribe from a channel. -
Uses of ISubscriber in com.github.ddth.pubsub.impl.universal
Classes in com.github.ddth.pubsub.impl.universal that implement ISubscriber Modifier and Type Class Description classUniversalIdIntSubscriberA subscriber that accepts onlyUniversalIdIntMessages.classUniversalIdStrSubscriberA subscriber that accepts onlyUniversalIdStrMessages.
-