public class LiveChannelManager extends Object implements FilteredManagerListener<ManagerEvent>
| Constructor and Description |
|---|
LiveChannelManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ChannelProxy proxy) |
ChannelProxy |
findChannel(String extendedChannelName,
String uniqueID) |
ChannelProxy |
getChannelByEndPoint(EndPoint endPoint) |
List<ChannelProxy> |
getChannelList() |
String |
getName()
Provides a unique name for the listener.
|
ListenerPriority |
getPriority()
Set the listeners priority.
|
void |
onManagerEvent(ManagerEvent event)
Called for each manager event that the connection receives for which the
filterEvent returned true.
|
void |
remove(ChannelProxy proxy) |
HashSet<Class<? extends ManagerEvent>> |
requiredEvents()
Called whenever the listener is first added and any time any listener is
removed to refresh the list of required events.
|
void |
sanityCheck() |
public ChannelProxy getChannelByEndPoint(EndPoint endPoint)
public void add(ChannelProxy proxy)
public void remove(ChannelProxy proxy)
public ChannelProxy findChannel(String extendedChannelName, String uniqueID)
public HashSet<Class<? extends ManagerEvent>> requiredEvents()
FilteredManagerListenerrequiredEvents in interface FilteredManagerListener<ManagerEvent>public void onManagerEvent(ManagerEvent event)
FilteredManagerListeneronManagerEvent in interface FilteredManagerListener<ManagerEvent>public String getName()
FilteredManagerListenergetName in interface FilteredManagerListener<ManagerEvent>public ListenerPriority getPriority()
FilteredManagerListenergetPriority in interface FilteredManagerListener<ManagerEvent>public void sanityCheck()
public List<ChannelProxy> getChannelList()
Copyright © 2004–2020. All rights reserved.