dsnserver
Class XmlRpcGetConinfo

java.lang.Object
  extended by dsnserver.XmlRpcGetConinfo

public class XmlRpcGetConinfo
extends java.lang.Object

A function wich is used as a XmlRpc function. It gives back all rows of the coninfo table.

Author:
kaltt

Constructor Summary
XmlRpcGetConinfo()
           
 
Method Summary
 java.util.Vector getConinfo(java.lang.String Source_DSNID, java.lang.String Neighbor_DSNID, java.lang.String State, java.lang.String time_from, java.lang.String time_till)
          result = getConinfo(Source_DSNID, Neighbor_DSNID, State, time_from, time_till, 0);
 java.util.Vector getConinfo(java.lang.String Source_DSNID, java.lang.String Neighbor_DSNID, java.lang.String State, java.lang.String time_from, java.lang.String time_till, int maxReply)
          A function wich is used as a XmlRpc function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlRpcGetConinfo

public XmlRpcGetConinfo()
Method Detail

getConinfo

public java.util.Vector getConinfo(java.lang.String Source_DSNID,
                                   java.lang.String Neighbor_DSNID,
                                   java.lang.String State,
                                   java.lang.String time_from,
                                   java.lang.String time_till,
                                   int maxReply)
A function wich is used as a XmlRpc function. It gives back all rows of the coninfo table.

Parameters:
String - Source_DSNID
String Neighbor_DSNID
String State (0: visible/not connected, 1: neighbor is slave, 2: neighbor is master, 3: connection error, all: if you want the rows of all entries)
String time_from (yyyy-MM-dd HH:mm:ss)
String time_till (yyyy-MM-dd HH:mm:ss) int maxReply (maxReply = 0 is to get all back and will be ordered ascending, if you specify maxReply the order will be descending and will start with the latest entry)
Returns:
Hashtable result (Keys: time SourceAddr NeighborAddr State rssi)

getConinfo

public java.util.Vector getConinfo(java.lang.String Source_DSNID,
                                   java.lang.String Neighbor_DSNID,
                                   java.lang.String State,
                                   java.lang.String time_from,
                                   java.lang.String time_till)
result = getConinfo(Source_DSNID, Neighbor_DSNID, State, time_from, time_till, 0);

Parameters:
String - Source_DSNID
String Neighbor_DSNID
String State (0: visible/not connected, 1: neighbor is slave, 2: neighbor is master, 3: connection error, all: if you want the rows of all entries)
String time_from (yyyy-MM-dd HH:mm:ss)
String time_till (yyyy-MM-dd HH:mm:ss)
Returns:
Hashtable result (Keys: time SourceAddr NeighborAddr State rssi)