Package org.ical4j.integration
Class AbstractChannelSubscriber<T>
- java.lang.Object
-
- org.ical4j.integration.AbstractChannelSubscriber<T>
-
- All Implemented Interfaces:
ChannelSubscriber<T>
public abstract class AbstractChannelSubscriber<T> extends Object implements ChannelSubscriber<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractChannelSubscriber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidpublishObject(T t)voidsubscribe(Consumer<T> consumer)voidunsubscribe(Consumer<T> consumer)
-
-
-
Method Detail
-
publishObject
protected void publishObject(T t)
-
subscribe
public void subscribe(Consumer<T> consumer)
- Specified by:
subscribein interfaceChannelSubscriber<T>
-
unsubscribe
public void unsubscribe(Consumer<T> consumer)
- Specified by:
unsubscribein interfaceChannelSubscriber<T>
-
-