FileDocCategorySizeDatePackage
ConvertServiceRegistrationImpl.javaAPI DocExample2184Thu Mar 16 11:52:48 GMT 2000None

ConvertServiceRegistrationImpl

public class ConvertServiceRegistrationImpl extends Object implements Serializable, ConvertServiceRegistration

Fields Summary
private Lease
lease
ConvertServiceProxy
server
Constructors Summary
ConvertServiceRegistrationImpl(ConvertServiceProxy server, Lease l)

        this.server = server;
        this.lease = l;
    
Methods Summary
public java.lang.Stringconvert(int i)

        try {
            return server.convert(lease, i);
        } catch (LeaseDeniedException lde) {
            // Our interface doesn't throw this exception, so we wrap it
            throw new RemoteException("Lease expired");
        }
    
public LeasegetLease()

        return lease;