org.jboss.mx.remoting
Class NotificationEntry

java.lang.Object
  extended by org.jboss.mx.remoting.NotificationEntry
All Implemented Interfaces:
Serializable

public class NotificationEntry
extends Object
implements Serializable

NotificationEntry represents a Notification passed back to the client from a remote server so that the client can properly coorelate the Notification object with a specific client-side listener object, based on the handback, which was passed to the server by the client as a specific, unique key.

Version:
$Revision: 81023 $
Author:
Jeff Haynie
See Also:
Serialized Form

Constructor Summary
NotificationEntry(Notification n, Object h)
           
 
Method Summary
 Object getHandBack()
          return the client Handback Object, which is used to find the appropriate client-side Listener to re-dispatch the notification to
 Notification getNotification()
          return the original Notification object
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotificationEntry

public NotificationEntry(Notification n,
                         Object h)
Method Detail

getNotification

public Notification getNotification()
return the original Notification object

Returns:

getHandBack

public Object getHandBack()
return the client Handback Object, which is used to find the appropriate client-side Listener to re-dispatch the notification to

Returns:

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.