net.israfil.foundation.notification
Class NotificationCentre.ObservationSpec

java.lang.Object
  extended by net.israfil.foundation.notification.NotificationCentre.ObservationSpec
Enclosing class:
NotificationCentre

public class NotificationCentre.ObservationSpec
extends java.lang.Object

TODO Use WeakReferences


Field Summary
 java.lang.String callback
           
 java.lang.String notification
           
 java.lang.Object observer
           
 java.lang.Object sender
           
 
Constructor Summary
NotificationCentre.ObservationSpec(java.lang.Object sender, java.lang.String notification, java.lang.String callback, java.lang.Object observer)
           
 
Method Summary
 int hashCode()
           
 void postNotification(Notification notification)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sender

public final java.lang.Object sender

notification

public final java.lang.String notification

callback

public final java.lang.String callback

observer

public final java.lang.Object observer
Constructor Detail

NotificationCentre.ObservationSpec

public NotificationCentre.ObservationSpec(java.lang.Object sender,
                                          java.lang.String notification,
                                          java.lang.String callback,
                                          java.lang.Object observer)
Method Detail

postNotification

public void postNotification(Notification notification)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2006. All Rights Reserved.