|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.norm.AbstractProxy
com.sun.jini.norm.NormProxy
class NormProxy
Defines a client-side proxy for a Norm server.
Nested Class Summary | |
---|---|
(package private) static class |
NormProxy.ConstrainableNormProxy
Defines a subclass of NormProxy that implements RemoteMethodControl. |
Field Summary | |
---|---|
private static long |
serialVersionUID
|
Fields inherited from class com.sun.jini.norm.AbstractProxy |
---|
server, uuid |
Constructor Summary | |
---|---|
NormProxy(NormServer server,
Uuid serverUuid)
Creates an instance of this class. |
Method Summary | |
---|---|
(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. |
Methods inherited from class com.sun.jini.norm.AbstractProxy |
---|
equals, getReferentUuid, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
NormProxy(NormServer server, Uuid serverUuid)
Method Detail |
---|
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 milliseconds
LeaseRenewalSet
in the renewal service
RemoteException
- if a communication-related exception
occurspublic Object getAdmin() throws RemoteException
getAdmin
in interface Administrable
RemoteException
JoinAdmin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |