public class DefaultLogMembershipListener extends Object implements BusMembershipListener
| Modifier and Type | Field and Description |
|---|---|
protected static org.lsst.ccs.utilities.logging.Logger |
generalLog |
protected static org.lsst.ccs.utilities.logging.Logger |
localLog |
static long |
logDelay |
| Constructor and Description |
|---|
DefaultLogMembershipListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
anormalEvent(Exception exc)
notification of an incident (sending a message to a non-existing agent and so on)
|
void |
connecting(String agentName,
String otherInfos)
a new agent is connected to the bus
|
void |
disconnecting(String agentName,
String otherInfos)
an agent explicitly disconnected
|
static long |
getLogDelay() |
static void |
setLogDelay(long logDelay) |
protected static org.lsst.ccs.utilities.logging.Logger localLog
protected static org.lsst.ccs.utilities.logging.Logger generalLog
public static long logDelay
public static long getLogDelay()
public static void setLogDelay(long logDelay)
public void connecting(String agentName, String otherInfos)
BusMembershipListenerconnecting in interface BusMembershipListenerotherInfos - free form string to add comments to the eventpublic void disconnecting(String agentName, String otherInfos)
BusMembershipListenerdisconnecting in interface BusMembershipListenerpublic void anormalEvent(Exception exc)
BusMembershipListeneranormalEvent in interface BusMembershipListenerCopyright © 2015 LSST. All rights reserved.