com.sun.jini.jeri.internal.runtime
Class DgcClient
java.lang.Object
com.sun.jini.jeri.internal.runtime.AbstractDgcClient
com.sun.jini.jeri.internal.runtime.DgcClient
public final class DgcClient
- extends AbstractDgcClient
Jeri ERI client-side DGC implementation.
This class specializes AbstractDgcClient to use
net.jini.jeri.Endpoint for transport endpoints, net.jini.id.Uuid
for object identifiers, and net.jini.jeri.BasicObjectEndpoint for
live remote references.
This class's DgcProxy implementation maps dirty and clean calls to
remote invocations on the DgcServer remote interface, through a
BasicInvocationHandler and a BasicObjectEndpoint with the
DgcProxy's Endpoint and the well-known Uuid for the Jini ERI
server-side DGC implementation remote object.
- Author:
- Sun Microsystems, Inc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final Logger logger
proxyInterfaces
private static final Class[] proxyInterfaces
clientID
private static final Uuid clientID
- unique identifier for this DgcClient as a client of DGC
DgcClient
public DgcClient()
registerRefs
public void registerRefs(Endpoint endpoint,
Collection refs)
getDgcProxy
protected AbstractDgcClient.DgcProxy getDgcProxy(Object endpoint)
- Description copied from class:
AbstractDgcClient
- Returns a proxy for making DGC calls to the given endpoint.
- Specified by:
getDgcProxy
in class AbstractDgcClient
freeEndpoint
protected void freeEndpoint(Object endpoint)
- Description copied from class:
AbstractDgcClient
- Indicates that resources for the given endpoint may be freed.
- Specified by:
freeEndpoint
in class AbstractDgcClient
getRefEndpoint
protected Object getRefEndpoint(Object ref)
- Description copied from class:
AbstractDgcClient
- Returns the endpoint in the given live reference.
- Specified by:
getRefEndpoint
in class AbstractDgcClient
getRefObjectID
protected Object getRefObjectID(Object ref)
- Description copied from class:
AbstractDgcClient
- Returns the object ID in the given live reference.
- Specified by:
getRefObjectID
in class AbstractDgcClient
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.