PreCache NetInjector Documentation Center : PreCache NetInjector API Reference

Java Classes

   







Subscriber

— the interface for callback operations


A subscriber class that receives Notifications must implement interface Subscriber. The interface defines a callback method, notify, which is invoked on behalf of the subscriber by a Proxy object to delivermatching notifications.

Constructor

public interface Subscriber

Methods

notify

public void notify(
Notification n,
Object closure)
throws Exception

Called to deliver matching notifications to the object implementing this interface.

n —
the notification to be delivered

closure —
an object passed to the Proxy's subscribe method to identify which subscription was matched by a notification