Remote Systems
v6.4.1

com.ibm.etools.systems.model.impl
Class SystemPostableEventNotifier

java.lang.Object
  extended bycom.ibm.etools.systems.model.impl.SystemPostableEventNotifier
All Implemented Interfaces:
Runnable

public class SystemPostableEventNotifier
extends Object
implements Runnable

To support posted events versus synchronous events, this class encapsulates the code to execute via the run() method.

The post behaviour is accomplished by calling the asyncExec method in the swt widget Display class. The Display object comes from calling getDisplay() on the shell which we get by calling getShell on the given listener.

By having a separate class we can support multiple simultaneous post event requests by instantiating this class for each request.


Field Summary
static String copyright
           
 
Constructor Summary
SystemPostableEventNotifier(ISystemResourceChangeListener listener, ISystemResourceChangeEvent event)
          Constructor when the request is to post one event to one listener
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

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

SystemPostableEventNotifier

public SystemPostableEventNotifier(ISystemResourceChangeListener listener,
                                   ISystemResourceChangeEvent event)
Constructor when the request is to post one event to one listener

Method Detail

run

public void run()
Specified by:
run in interface Runnable

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.