Package dev.demeng.pluginbase.event
Interface MergedSubscription<T>
- Type Parameters:
T- the handled type
- All Superinterfaces:
AutoCloseable,Subscription,Terminable
Represents a subscription to a set of events.
-
Field Summary
Fields inherited from interface dev.demeng.pluginbase.terminable.Terminable
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionGets a set of the individual event classes being listened toGets the handled classMethods inherited from interface dev.demeng.pluginbase.event.Subscription
close, getCallCounter, getFunctions, isActive, unregisterMethods inherited from interface dev.demeng.pluginbase.terminable.Terminable
bindWith, closeAndReportException, closeSilently, isClosed
-
Method Details
-
getHandledClass
Gets the handled class- Returns:
- the handled class
-
getEventClasses
Gets a set of the individual event classes being listened to- Returns:
- the individual classes
-