Logo Search packages:      
Sourcecode: pacemaker-mgmt version File versions  Download package

LHACLIClient.java

package org.linuxha.sam.plugin;


public class LHACLIClient extends LHALIBClient
{
      synchronized String[] processCommand(String[] command)
      {
            String msg = "";
            for(int i=0; i<command.length; i++){
                  msg += command[i];
                  msg += " ";
            }
            String result = LHAMgmtLib.process_cmnd_external(msg);
            return result.split("\n");
      }
      
      
}


Generated by  Doxygen 1.6.0   Back to index