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

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

public class RegRemoteAndRenewLeaseImpl
extends java.lang.Object
implements RegRemoteAndRenewLease


Constructor Summary
RegRemoteAndRenewLeaseImpl()
           
 
Method Summary
 int add(int a, int b)
           
static void main(java.lang.String[] args)
           
 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

RegRemoteAndRenewLeaseImpl

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

add

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

subtract

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

main

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


Copyright © 2003 Sun Microsystems Corp. All Rights Reserved.