java.lang.Object | +----ClientDsapi
s
:p
r
to the database, returning success or failure.
n
's record, returning success or failure.
c
, returning success or failure
n
's record, evaluate its filter, and return addresses
r
in server database, returning modified record.
n
's record
public ClientDsapi(String s, int p)
s
:p
public boolean Add(Credentials c, Record r)
r
to the database, returning success or failure.
true
on successful ADD
false
otherwise
public Record Modify(Credentials c, Record r)
r
in server database, returning modified record.
null
on failure
public Record Retrieve(Credentials c, String n)
n
's record
null
on failure
public Enumeration Lookup(Credentials c, String n)
n
's record, evaluate its filter, and return addresses
String
representing locations for n
null
on failure
public boolean Delete(Credentials c, String n)
n
's record, returning success or failure.
true
on successful DELETE
false
otherwise
public Enumeration ListAllUsers(Credentials c)
String
representing a list of all registered users in the database
null
on failure
public Enumeration ListAllConferences(Credentials c)
String
representing a list of all registered conferences in the database
null
on failure
public boolean isValid(Credentials c, Credentials v)
c
, returning success or failure
true
if v
is a valid credential
false
otherwise
public String GetLastError()
String
containing the last error seen by the API
record = user "\t" password "\t" roamingaddress "\t" filterlist "\t" credentials filterlist = filter [ ";" filter-list ] filter = time-range " " address-list time-range = time ":" time address-list = address [ "," address-list ] address = meta "!" [ abs-address ] meta = "ip" | "pots" | "roam" | "user" roamingaddress = abs-time " " address credentials = user "\b" password Leaf types are ASCII strings with the following form/semantics: abs-address = represents a specific address. ie "2561234" or "127.0.0.1" user = user identifier (email address, phone number, identifier ) password = password abs-time = yyyymmddhhmmss in GMT time = hhmm in GMT