com.univocity.api.common
Interface NotificationHandler<T>

Type Parameters:
T - the type of notification object that will be passed onto the notify(Object, boolean) method.
All Known Implementing Classes:
TimedNotificationHandler

public interface NotificationHandler<T>

A simple callback interface to notify the user of some action or update performed by the framework.

Author:
uniVocity Software Pty Ltd - dev@univocity.com

Method Summary
 void notify(T notification, boolean lastNotification)
          Notifies of some action or update.
 

Method Detail

notify

void notify(T notification,
            boolean lastNotification)
Notifies of some action or update.

Parameters:
notification - the notification object with information about what happened.
lastNotification - flag indicating whether this is the last notification to be received.


Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.