cz.cuni.amis.nb.pogamut.base.logging
Interface LogRecordListener

Package class diagram package LogRecordListener
All Known Implementing Classes:
LogTableModel

public interface LogRecordListener

Listener for changes in LogRecordSource object. There are two types of change:

  1. New record arrives - call to notifyNewLogRecord(LogRecord r)
  2. Filter of records source has changed - setNewData(Collection r)

Author:
ik
See Also:
LogRecordSource

Method Summary
 void notifyNewLogRecord(LogRecord r)
          New log record has arrived.
 void setNewData(Collection<LogRecord> r)
          Source has completely changed.
 

Method Detail

notifyNewLogRecord

void notifyNewLogRecord(LogRecord r)
New log record has arrived.

Parameters:
r - new record.

setNewData

void setNewData(Collection<LogRecord> r)
Source has completely changed. This event is raised due to change affecting also older records.

Parameters:
r - Collection of new records.


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.