public class CompositeConnectionListener extends java.lang.Object implements ConnectionListener
Constructor and Description |
---|
CompositeConnectionListener() |
Modifier and Type | Method and Description |
---|---|
void |
addDelegate(ConnectionListener delegate) |
void |
clearDelegates() |
void |
onClose(Connection connection) |
void |
onCreate(Connection connection) |
boolean |
removeDelegate(ConnectionListener delegate) |
void |
setDelegates(java.util.List<? extends ConnectionListener> delegates) |
public void onCreate(Connection connection)
onCreate
in interface ConnectionListener
public void onClose(Connection connection)
onClose
in interface ConnectionListener
public void setDelegates(java.util.List<? extends ConnectionListener> delegates)
public void addDelegate(ConnectionListener delegate)
public boolean removeDelegate(ConnectionListener delegate)
public void clearDelegates()