RSE
Release 3.2

org.eclipse.rse.core.subsystems
Interface ICommunicationsListener

All Known Implementing Classes:
FileServiceSubSystem, ProcessServiceSubSystem, RemoteCmdSubSystem, RemoteFileSubSystem, RemoteProcessSubSystemImpl, ShellServiceSubSystem, StatusMonitor, TerminalServiceSubSystem

public interface ICommunicationsListener

ICommunicationsListener - listen to communication events

See Also:
CommunicationsEvent

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.
 

Method Detail

communicationsStateChange

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 occurred.


isPassiveCommunicationsListener

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 registers 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.

RSE
Release 3.2

Copyright (c) IBM Corporation and others 2000, 2010. All Rights Reserved.