Package i5.las2peer.logging
Interface NodeObserver
- All Known Implementing Classes:
L2pLogger
,MonitoringObserver
public interface NodeObserver
The NodeObserver is an interface providing all necessary methods to monitor all interesting node events for a
Node
(mainly PastryNodeImpl
).-
Method Summary
-
Method Details
-
log
void log(Long timestamp, MonitoringEvent event, String sourceNode, String sourceAgentId, String destinationNode, String destinationAgentId, String remarks) Each call represents one event to log by this observer. All parameters except the time stamp and the event may be null.- Parameters:
timestamp
- UNIX time stamp of the eventevent
- the event to logsourceNode
- a source (p2p) node of the event (e.g. message sender)sourceAgentId
- a source (las2peer) agent of the event (e.g. message sender)destinationNode
- a destination (p2p) node for the event (e.g. message receiver)destinationAgentId
- a destination (las2peer) agent of the event (e.g. message receiver)remarks
- (optional) additional remarks
-