class NormProxy extends AbstractProxy implements LeaseRenewalService, Administrable
Modifier and Type | Class and Description |
---|---|
(package private) static class |
NormProxy.ConstrainableNormProxy
Defines a subclass of NormProxy that implements RemoteMethodControl.
|
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
server, uuid
Constructor and Description |
---|
NormProxy(NormServer server,
Uuid serverUuid)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
(package private) static NormProxy |
create(NormServer server,
Uuid serverUuid)
Creates a Norm server proxy, returning an instance that implements
RemoteMethodControl if the server does.
|
LeaseRenewalSet |
createLeaseRenewalSet(long leaseDuration)
inherit javadoc
|
Object |
getAdmin()
inherit javadoc
|
private void |
readObjectNoData()
Require fields to be non-null.
|
equals, getReferentUuid, hashCode
private static final long serialVersionUID
NormProxy(NormServer server, Uuid serverUuid)
static NormProxy create(NormServer server, Uuid serverUuid)
server
- the serverserverUuid
- the unique ID for the serverprivate void readObjectNoData() throws InvalidObjectException
InvalidObjectException
public LeaseRenewalSet createLeaseRenewalSet(long leaseDuration) throws RemoteException
createLeaseRenewalSet
in interface LeaseRenewalService
leaseDuration
- requested lease duration in millisecondsLeaseRenewalSet
in the renewal serviceRemoteException
- if a communication-related exception
occurspublic Object getAdmin() throws RemoteException
getAdmin
in interface Administrable
RemoteException
JoinAdmin
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.