net.xqhs.graphs.context
Interface ContinuousMatchingProcess.MatchNotificationReceiver

Enclosing interface:
ContinuousMatchingProcess

public static interface ContinuousMatchingProcess.MatchNotificationReceiver

An implementation is able to act as a receiver for match notifications.

It is recommended that implementations return quickly from the receiver method and delegate any lengthy processing to a different thread.

Author:
Andrei Olaru

Method Summary
 void receiveMatchNotification(ContinuousMatchingProcess platform, Match m)
          The method is called by a ContinuousMatchingProcess when a match is detected that conforms to the notification settings.
 

Method Detail

receiveMatchNotification

void receiveMatchNotification(ContinuousMatchingProcess platform,
                              Match m)
The method is called by a ContinuousMatchingProcess when a match is detected that conforms to the notification settings.

Parameters:
platform - - the platform that issued the notification.
m - - the match for which the notification has been issued.