org.opengroupware.jogi.connect.xmlrpc
Class XmlRpcSystem

java.lang.Object
  extended byorg.opengroupware.jogi.connect.xmlrpc.XmlRpcSystem
All Implemented Interfaces:
System

public class XmlRpcSystem
extends java.lang.Object
implements System

Author:
Werner Schuster (murphee)

Field Summary
protected  XmlRpcCaller caller_
           
static java.text.DateFormat iso8601BasicDateFormat
           
static java.text.DateFormat iso8601ExtendedDateFormat
           
static java.text.DateFormat localeDateFormat
           
static java.lang.String OGO_CALL_SYSTEM_GET_HOSTNAME
           
static java.lang.String OGO_CALL_SYSTEM_GET_SERVER_TIME
           
static java.lang.String OGO_CALL_SYSTEM_GET_SERVER_TIMEZONE
           
 
Constructor Summary
XmlRpcSystem(XmlRpcCaller caller)
           
 
Method Summary
 java.lang.String getHostName()
          comment copied from interface
 java.lang.String getMethodHelp(java.lang.String method)
          comment copied from interface
 java.util.List getMethods()
          comment copied from interface
 java.util.List getMethodSignature(java.lang.String method)
          comment copied from interface
 java.util.Date getServerTime()
          comment copied from interface
 java.lang.String getServerTimeZone()
          comment copied from interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OGO_CALL_SYSTEM_GET_HOSTNAME

public static final java.lang.String OGO_CALL_SYSTEM_GET_HOSTNAME
See Also:
Constant Field Values

OGO_CALL_SYSTEM_GET_SERVER_TIMEZONE

public static final java.lang.String OGO_CALL_SYSTEM_GET_SERVER_TIMEZONE
See Also:
Constant Field Values

OGO_CALL_SYSTEM_GET_SERVER_TIME

public static final java.lang.String OGO_CALL_SYSTEM_GET_SERVER_TIME
See Also:
Constant Field Values

localeDateFormat

public static final java.text.DateFormat localeDateFormat

iso8601BasicDateFormat

public static final java.text.DateFormat iso8601BasicDateFormat

iso8601ExtendedDateFormat

public static final java.text.DateFormat iso8601ExtendedDateFormat

caller_

protected XmlRpcCaller caller_
Constructor Detail

XmlRpcSystem

public XmlRpcSystem(XmlRpcCaller caller)
Method Detail

getHostName

public java.lang.String getHostName()
                             throws OgoException,
                                    ConnectionException
comment copied from interface

Specified by:
getHostName in interface System
Returns:
A string representing the fully qualified domain name of the remote host.
Throws:
OgoException
ConnectionException

getServerTimeZone

public java.lang.String getServerTimeZone()
                                   throws OgoException,
                                          ConnectionException
comment copied from interface

Specified by:
getServerTimeZone in interface System
Returns:
A string representing the timezone from the OpenGroupware server.
Throws:
OgoException
ConnectionException

getServerTime

public java.util.Date getServerTime()
                             throws OgoException,
                                    ConnectionException
comment copied from interface

Specified by:
getServerTime in interface System
Returns:
the time on the server as Date object, or null if the call could not be completed.
Throws:
OgoException
ConnectionException

getMethods

public java.util.List getMethods()
comment copied from interface


getMethodSignature

public java.util.List getMethodSignature(java.lang.String method)
comment copied from interface


getMethodHelp

public java.lang.String getMethodHelp(java.lang.String method)
comment copied from interface



Copyright © 2003 ogojogi Project, All Rights Reserved.