java.lang.Object
org.open3sp.agent.system.SystemAgentBase
org.open3sp.agent.system.SystemAgent
- public class SystemAgent
- extends SystemAgentBase
| Fields inherited from class org.open3sp.agent.system.SystemAgentBase |
AGENT_CLOSE_FILE, AGENT_FILE_EXISTS, AGENT_GET_PROPERTY, AGENT_INIT, AGENT_IS_DIRECTORY, AGENT_MAKE_DIRECTORY, AGENT_OPEN_FILE, AGENT_READ_FILE, AGENT_STATUS_ERROR, AGENT_STATUS_OK, AGENT_WRITE_FILE, ERROR_FILE_ERROR, ERROR_FILE_NOT_FOUND, ERROR_MKDIR_FAILED, ERROR_PROPERTY_NOT_FOUND, ERROR_UNKNOWN_MESSAGE, OPEN_FILE_CREATE, OPEN_FILE_READ, OPEN_FILE_WRITE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
private java.io.DataInputStream in
out
private java.io.DataOutputStream out
running
private boolean running
files
private java.util.HashMap files
SystemAgent
public SystemAgent()
throws java.io.IOException
openFile
private void openFile()
throws java.io.IOException
readFile
private void readFile()
throws java.io.IOException
writeFile
private void writeFile()
throws java.io.IOException
closeFile
private void closeFile()
throws java.io.IOException
sendStatusOK
private void sendStatusOK()
throws java.io.IOException
sendStatusError
private void sendStatusError(int errorCode,
java.lang.String msg)
throws java.io.IOException
getProperty
private void getProperty()
throws java.io.IOException
exists
private void exists()
throws java.io.IOException
isDir
private void isDir()
throws java.io.IOException
makeDirectory
private void makeDirectory()
throws java.io.IOException
main
public static void main(java.lang.String[] args)