KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > soto > ubik > example > UbikServer


1 package org.sapia.soto.ubik.example;
2
3 import org.sapia.soto.Service;
4
5 import org.sapia.ubik.rmi.server.Stateless;
6
7
8 /**
9  * @author Yanick Duchesne
10  * 1-Oct-2003
11  */

12 public class UbikServer implements UbikService, Service, Stateless {
13   /**
14    * Constructor for UbikService.
15    */

16   public UbikServer() {
17     super();
18   }
19
20   /**
21    * @see org.sapia.soto.ubik.example.UbikService#ping()
22    */

23   public void ping() {
24     System.out.println("Ping received!!!!! @ " +
25       Integer.toHexString(super.hashCode()));
26   }
27
28   /**
29    * @see org.sapia.soto.Service#dispose()
30    */

31   public void dispose() {
32   }
33
34   /**
35    * @see org.sapia.soto.Service#init()
36    */

37   public void init() throws Exception JavaDoc {
38   }
39
40   /**
41    * @see org.sapia.soto.Service#start()
42    */

43   public void start() throws Exception JavaDoc {
44   }
45 }
46
Popular Tags