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

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

public class RegRemoteUseJoinMgrImpl
extends java.lang.Object
implements RegRemoteUseJoinMgr


Nested Class Summary
 class RegRemoteUseJoinMgrImpl.ServiceIDListenerImpl
          Class which listens for the announcement of a service ID assignment by the JoinManager
 
Constructor Summary
RegRemoteUseJoinMgrImpl()
           
 
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

RegRemoteUseJoinMgrImpl

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

add

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

subtract

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

multiply

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

main

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


Copyright © 2003 Sun Microsystems Corp. All Rights Reserved.