Remote Systems
v6.4.1

com.ibm.etools.systems.subsystems
Interface ICommunicationsListener

All Known Implementing Classes:
DownloadListener, OutputChangeListener, RemoteCmdSubSystemImpl, RemoteFilePropertyChangeListener, RemoteFileSubSystemImpl, SearchResultsChangeListener, StatusChangeListener, StatusMonitor

public interface ICommunicationsListener

ICommunicationsListener - listen to communication events

See Also:
CommunicationsEvent

Field Summary
static String copyright
           
 
Method Summary
 void communicationsStateChange(CommunicationsEvent e)
          This method is invoked whenever the communications state is invoked immediately before and after the state of the communications changes.
 boolean isPassiveCommunicationsListener()
          This method determines if the communications listener is a passive or active listener.
 

Field Detail

copyright

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

communicationsStateChange

public void communicationsStateChange(CommunicationsEvent e)
This method is invoked whenever the communications state is invoked immediately before and after the state of the communications changes. The state field in CommunicationsEvent determines which state change is about to or has occured.


isPassiveCommunicationsListener

public boolean isPassiveCommunicationsListener()
This method determines if the communications listener is a passive or active listener. Typically a passive listener registers with the communications system and responds to events as they occur. An active listener typically registeres with the communications system only for the duration of the task (i.e. user editing a file, or outstanding communications request.) The user will be prompted on a disconnect if there are any active communication listeners registered.

Returns:
false if the communications listener is an active listener, true if the communications listener is a passive listener.

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.