com.sun.jini.example.basic.ex1.awake
Class RegRemoteUseLeaseRenewalMgrImpl

java.lang.Object
  extended bycom.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgrImpl
All Implemented Interfaces:
RegRemoteUseLeaseRenewalMgr, java.rmi.Remote

public class RegRemoteUseLeaseRenewalMgrImpl
extends java.lang.Object
implements RegRemoteUseLeaseRenewalMgr


Nested Class Summary
 class RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener
          Class which listens for exceptions from the LeaseRenewalManager
 
Constructor Summary
RegRemoteUseLeaseRenewalMgrImpl()
           
 
Method Summary
 int add(int a, int b)
           
static void main(java.lang.String[] args)
           
 double multiply(double a, double b)
           
 int subtract(int a, int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegRemoteUseLeaseRenewalMgrImpl

public RegRemoteUseLeaseRenewalMgrImpl()
                                throws java.rmi.RemoteException
Method Detail

add

public int add(int a,
               int b)
Specified by:
add in interface RegRemoteUseLeaseRenewalMgr

subtract

public int subtract(int a,
                    int b)
Specified by:
subtract in interface RegRemoteUseLeaseRenewalMgr

multiply

public double multiply(double a,
                       double b)
Specified by:
multiply in interface RegRemoteUseLeaseRenewalMgr

main

public static void main(java.lang.String[] args)


Copyright © 2003 Sun Microsystems Corp. All Rights Reserved.