All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ajanta.apps.calendar.CalendarServer

java.lang.Object
   |
   +----java.rmi.server.RemoteObject
           |
           +----java.rmi.server.RemoteServer
                   |
                   +----java.rmi.server.UnicastRemoteObject
                           |
                           +----ajanta.server.AgentServer
                                   |
                                   +----ajanta.apps.calendar.CalendarServer

public class CalendarServer
extends AgentServer
implements AServer
Calendar Server is derived from the base AgentServer class. A calendar server customizes the generic agent server by adding a Resource viz. a CalendarDatabase object, which is a database recording the schedule of activities and appointments for a user.


Constructor Index

 o CalendarServer(String)
It register the CalendarDatabase resource as : server URN + /CalDB which is accessed by visiting agents

Method Index

 o main(String[])
Main program, which starts up the agent server This is only a generic main program.

Constructors

 o CalendarServer
 public CalendarServer(String n) throws RemoteException, MalformedURLException, UnknownHostException
It register the CalendarDatabase resource as : server URN + /CalDB which is accessed by visiting agents

Parameters:
n - name( URN ) of the calendar server

Methods

 o main
 public static void main(String args[])
Main program, which starts up the agent server This is only a generic main program.


All Packages  Class Hierarchy  This Package  Previous  Next  Index