Package com.microsoft.playwright.impl
Class ListenerCollection<EventType>
java.lang.Object
com.microsoft.playwright.impl.ListenerCollection<EventType>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionListenerCollection(Map<EventType, String> eventSubscriptions, ChannelOwner channelOwner) -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) booleanhasListeners(EventType type) (package private) <T> void(package private) voidprivate voidupdateSubscription(EventType eventType, boolean enabled)
-
Field Details
-
listeners
-
eventSubscriptions
-
channelOwner
-
-
Constructor Details
-
ListenerCollection
ListenerCollection() -
ListenerCollection
ListenerCollection(Map<EventType, String> eventSubscriptions, ChannelOwner channelOwner)
-
-
Method Details
-
notify
-
add
-
remove
-
hasListeners
-
updateSubscription
-