org.jboss.mx.remoting.rmi
Class ClientNotificationProxy

java.lang.Object
  extended by org.jboss.mx.remoting.rmi.ClientNotificationProxy
All Implemented Interfaces:
EventListener, NotificationListener

public class ClientNotificationProxy
extends Object
implements NotificationListener

Author:
Tom Elrod

Field Summary
static int DEFAULT_MAX_NOTIFICATION_BUFFER_SIZE
           
static String MAX_NOTIFICATION_BUFFER_SIZE_KEY
           
 
Constructor Summary
ClientNotificationProxy()
           
 
Method Summary
 Integer createListenerId(ObjectName name, NotificationFilter filter)
           
 NotificationResult fetchNotifications(long clientSequenceNumber, int maxNotifications, long timeout)
           
 ClientListenerHolder[] getListeners()
           
 void handleNotification(Notification notification, Object o)
           
 NotificationFilter removeListener(Integer id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAX_NOTIFICATION_BUFFER_SIZE

public static final int DEFAULT_MAX_NOTIFICATION_BUFFER_SIZE
See Also:
Constant Field Values

MAX_NOTIFICATION_BUFFER_SIZE_KEY

public static final String MAX_NOTIFICATION_BUFFER_SIZE_KEY
See Also:
Constant Field Values
Constructor Detail

ClientNotificationProxy

public ClientNotificationProxy()
Method Detail

createListenerId

public Integer createListenerId(ObjectName name,
                                NotificationFilter filter)

handleNotification

public void handleNotification(Notification notification,
                               Object o)
Specified by:
handleNotification in interface NotificationListener

removeListener

public NotificationFilter removeListener(Integer id)

fetchNotifications

public NotificationResult fetchNotifications(long clientSequenceNumber,
                                             int maxNotifications,
                                             long timeout)

getListeners

public ClientListenerHolder[] getListeners()


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