de.folt.rpc.messages
Class GetLogFileName

java.lang.Object
  extended by de.folt.rpc.messages.GetLogFileName
All Implemented Interfaces:
RPCMessage

public class GetLogFileName
extends java.lang.Object
implements RPCMessage

Author:
unnop siripakdee

Constructor Summary
GetLogFileName()
           
 
Method Summary
 java.util.Vector execute(java.util.Hashtable message)
          GetLogFileName returns the currently used log file name of the OpenTMS server.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetLogFileName

public GetLogFileName()
Method Detail

execute

public java.util.Vector execute(java.util.Hashtable message)
GetLogFileName returns the currently used log file name of the OpenTMS server. No parameters are used:

It returns:

vec.add(de.folt.constants.OpenTMSConstants.OpenTMS_ID_SUCCESS +"");
vec.add(logfile); -- The log file name --
vec.add(de.folt.util.OpenTMSLogger.returnLogLevel() + ""); -- the log level if supported --

or

vec.add(de.folt.constants.OpenTMSConstants.OpenTMS_ID_FAILURE +"");
vec.add(ex.getMessage());

Specified by:
execute in interface RPCMessage
Parameters:
message - a hash table containing the message specific parameters
Returns:
a Vector containing the results of executing the method.
See Also:
RPCMessage.execute(java.util.Hashtable)