org.jboss.mx.remoting.rmi
Class ClientNotifier

java.lang.Object
  extended by java.util.TimerTask
      extended by org.jboss.mx.remoting.rmi.ClientNotifier
All Implemented Interfaces:
Runnable

public class ClientNotifier
extends TimerTask

Author:
Tom Elrod

Constructor Summary
ClientNotifier(RMIConnection rmiConnection)
           
 
Method Summary
 void addNotificationListener(Integer listenerID, ClientListenerHolder holder)
           
 void close()
           
 boolean exists(ClientListenerHolder holder)
           
 Integer getListener(ClientListenerHolder clientListenerHolder)
           
 Integer[] getListeners(ObjectName name, NotificationListener listener)
           
 void removeListeners(Integer[] ids)
           
 void run()
          The action to be performed by this timer task.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientNotifier

public ClientNotifier(RMIConnection rmiConnection)
Method Detail

run

public void run()
The action to be performed by this timer task.

Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

exists

public boolean exists(ClientListenerHolder holder)

addNotificationListener

public void addNotificationListener(Integer listenerID,
                                    ClientListenerHolder holder)

getListeners

public Integer[] getListeners(ObjectName name,
                              NotificationListener listener)

removeListeners

public void removeListeners(Integer[] ids)

getListener

public Integer getListener(ClientListenerHolder clientListenerHolder)

close

public void close()


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