public Object doRemoteAction(String strCommand, Map<String, Object> properties) throws DBException, RemoteException
    {
        BaseTransport transport = this.createProxyTransport(DO_REMOTE_ACTION);
        transport.addParam(NAME, strCommand);   // Don't use COMMAND
        transport.addParam(PROPERTIES, properties);
        Object strReturn = transport.sendMessageAndGetReply();
        if (strReturn instanceof String)
        {   // Could be returning a session
            BaseSessionProxy session = this.checkForSession((String)strReturn);
            if (session != null)
                return session;
        }
        Object objReturn = transport.convertReturnObject(strReturn);
        return this.checkDBException(objReturn);
    }
public Object doRemoteAction ( String strCommand , Map < String , Object > properties ) throws DBException , RemoteException { BaseTransport transport = this . createProxyTransport ( DO_REMOTE_ACTION ) ; transport . addParam ( NAME , strCommand ) ; transport . addParam ( PROPERTIES , properties ) ; Object strReturn = transport . sendMessageAndGetReply ( ) ; if ( strReturn instanceof String ) { BaseSessionProxy session = this . checkForSession ( ( String ) strReturn ) ; if ( session != null ) return session ; } Object objReturn = transport . convertReturnObject ( strReturn ) ; return this . checkDBException ( objReturn ) ; }
Do a remote action.
@param strCommand Command to perform remotely.
@return boolean success.