FileDocCategorySizeDatePackage
ConvertServiceImpl.javaAPI DocExample2479Thu Mar 16 11:52:42 GMT 2000None

ConvertServiceImpl

public class ConvertServiceImpl extends UnicastRemoteObject implements ServiceIDListener, ConvertServiceProxy

Fields Summary
Constructors Summary
public ConvertServiceImpl()

    
Methods Summary
public java.lang.Stringconvert(int i)

        return new Integer(i).toString();
    
public static voidmain(java.lang.String[] args)

        System.setSecurityManager(new RMISecurityManager());
        String[] groups = new String[] { "" };

        // Create the instance of the service; the JoinManager will
        // register it and renew its leases with the lookup service
        ConvertServiceImpl csi = (ConvertServiceImpl) new ConvertServiceImpl();
        LookupDiscoveryManager mgr = new LookupDiscoveryManager(groups, null, null);
        JoinManager manager = new JoinManager(csi, null,
                                              csi, mgr, null);
    
public voidserviceIDNotify(ServiceID id)

        // For now, this is just a required method