|
T-Plan Robot Enterprise 3.4 Build No. 3.4-20130322.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tplan.robot.remoteclient.AbstractRemoteDesktopClient
public abstract class AbstractRemoteDesktopClient
Base abstract class for desktop clients which provides common infrastructure for server and client listeners.
T-Plan Robot Enterprise, (C) 2009-2013 T-Plan Limited. All rights reserved.
| Field Summary |
|---|
| Fields inherited from interface com.tplan.robot.remoteclient.RemoteDesktopClient |
|---|
LOGIN_PARAM_PASSWORD, LOGIN_PARAM_URI, LOGIN_PARAM_USER |
| Constructor Summary | |
|---|---|
AbstractRemoteDesktopClient()
|
|
| Method Summary | |
|---|---|
void |
addClientListener(RemoteDesktopClientListener listener)
Add a client listener. |
void |
addServerListener(RemoteDesktopServerListener listener)
Add a server listener to the client. |
void |
destroy()
Destroy the client and make it ready for garbage collection. |
protected void |
fireRemoteClientEvent(RemoteDesktopClientEvent evt)
Fire a client event to all registered listeners. |
protected void |
fireRemoteServerEvent(RemoteDesktopServerEvent evt)
Fire a server event to all registered listeners. |
boolean |
isActivelyUpdating()
The client is by default considered passive (the method returns false). |
boolean |
isConnectedTo(String connectString)
Test whether this client is connected to a desktop identified by a particular URL (connect string). |
boolean |
isStatic()
The client is by default considered dynamic (the method returns false). |
void |
removeClientListener(RemoteDesktopClientListener listener)
Remove an object from the list of client listeners. |
void |
removeServerListener(RemoteDesktopServerListener listener)
Remove an object from the list of server listeners. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tplan.robot.remoteclient.RemoteDesktopClient |
|---|
close, connect, getConnectString, getDefaultPort, getDesktopHeight, getDesktopName, getDesktopWidth, getHost, getImage, getLastMouseEvent, getLoginParamsSpecification, getPassword, getPort, getProtocol, getUser, hasSufficientConnectInfo, isConnected, isConnecting, isConsoleMode, isLocalDisplay, sendClientCutText, setConsoleMode, setLoginParams |
| Methods inherited from interface com.tplan.robot.plugin.Plugin |
|---|
checkDependencies, getCode, getDate, getDescription, getDisplayName, getImplementedInterface, getLowestSupportedVersion, getMessageAfterInstall, getMessageBeforeInstall, getSupportContact, getUniqueId, getVendorHomePage, getVendorName, getVersion, requiresRestart |
| Constructor Detail |
|---|
public AbstractRemoteDesktopClient()
| Method Detail |
|---|
public void addServerListener(RemoteDesktopServerListener listener)
addServerListener in interface RemoteDesktopClientlistener - an object implementing the RemoteServerListener
interface.public void removeServerListener(RemoteDesktopServerListener listener)
removeServerListener in interface RemoteDesktopClientlistener - an object implementing the RemoteDesktopServerListener
interface.protected void fireRemoteServerEvent(RemoteDesktopServerEvent evt)
evt - a server client eventpublic void addClientListener(RemoteDesktopClientListener listener)
addClientListener in interface RemoteDesktopClientlistener - an object implementing the RemoteDesktopClientListener
interface.public void removeClientListener(RemoteDesktopClientListener listener)
removeClientListener in interface RemoteDesktopClientlistener - an object implementing the RemoteDesktopClientListener
interface.protected void fireRemoteClientEvent(RemoteDesktopClientEvent evt)
evt - a desktop client eventpublic void destroy()
destroy in interface RemoteDesktopClientpublic boolean isConnectedTo(String connectString)
RemoteDesktopClient
isConnectedTo in interface RemoteDesktopClientconnectString - an URL (connect string).
public boolean isActivelyUpdating()
isActivelyUpdating in interface ImageOwnerpublic boolean isStatic()
isStatic in interface ImageOwner
|
T-Plan Robot Enterprise 3.4 Build No. 3.4-20130322.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||