dsnserver
Class XmlRpcDSNVerbosity

java.lang.Object
  extended by dsnserver.XmlRpcDSNVerbosity
All Implemented Interfaces:
org.apache.xmlrpc.AuthenticatedXmlRpcHandler

public class XmlRpcDSNVerbosity
extends java.lang.Object
implements org.apache.xmlrpc.AuthenticatedXmlRpcHandler

A function which is used as a XmlRpc function. It is used for defining the log class which is sent directly to the GUInode.

Author:
kaltt

Field Summary
(package private)  Communication myComm
           
(package private)  org.apache.xmlrpc.WebServer server
           
 
Constructor Summary
XmlRpcDSNVerbosity(Communication comm, org.apache.xmlrpc.WebServer server)
           
 
Method Summary
 boolean checkPassword(java.lang.String user, java.lang.String password)
           
 java.lang.String dsnVerbosity(java.lang.String DSNID, int Class, int Levelmask)
          It is used for defining the log class which is send directly to the GUInode.
protected  java.lang.Object execute(java.lang.String method, java.util.Vector v)
           
 java.lang.Object execute(java.lang.String method, java.util.Vector v, java.lang.String user, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myComm

Communication myComm

server

org.apache.xmlrpc.WebServer server
Constructor Detail

XmlRpcDSNVerbosity

public XmlRpcDSNVerbosity(Communication comm,
                          org.apache.xmlrpc.WebServer server)
Method Detail

dsnVerbosity

public java.lang.String dsnVerbosity(java.lang.String DSNID,
                                     int Class,
                                     int Levelmask)
It is used for defining the log class which is send directly to the GUInode.

Parameters:
String - DSNID
int Class (which class should be sent back directly)
int Levelmask (which level of the class should be sent back directly ((dez x01-Error x02-Warning x03-Info x04-Debug x05-Reply) (e.g.: set all level = 31, set none of them = 0, set Error & Warning = 3))
Returns:
return "";

execute

public java.lang.Object execute(java.lang.String method,
                                java.util.Vector v,
                                java.lang.String user,
                                java.lang.String password)
Specified by:
execute in interface org.apache.xmlrpc.AuthenticatedXmlRpcHandler

execute

protected java.lang.Object execute(java.lang.String method,
                                   java.util.Vector v)

checkPassword

public boolean checkPassword(java.lang.String user,
                             java.lang.String password)