com.toremote.gateway.plugin
Interface RemoteAppInterface


public interface RemoteAppInterface


Method Summary
 void beforeExecute(java.lang.String[] arguments, java.lang.String sessionId)
          Invoked before remoteapp is excecuted.
 void onClose(java.lang.String exe, java.lang.String args, java.lang.String sessionId)
          Invoked after the app is closed
 

Method Detail

beforeExecute

void beforeExecute(java.lang.String[] arguments,
                   java.lang.String sessionId)
Invoked before remoteapp is excecuted.

Parameters:
arguments - length is 3, the first is the application name, like "||WINWORD", the second is the arguments for this app, the third is the working directory,
sessionId - id of current session Set arguments[0] = "" if you don't want run this app.

onClose

void onClose(java.lang.String exe,
             java.lang.String args,
             java.lang.String sessionId)
Invoked after the app is closed

Parameters:
exe -
args -
sessionId -