uka.karmi.rmi.server
Class UnicastRemoteClientRef

java.lang.Object
  extended byuka.karmi.rmi.RemoteClientRef
      extended byuka.karmi.rmi.SingleRemoteClientRef
          extended byuka.karmi.rmi.server.UnicastRemoteClientRef
All Implemented Interfaces:
Anonymous, java.io.Externalizable, Immutable, java.io.Serializable

public class UnicastRemoteClientRef
extends SingleRemoteClientRef

The client side reference of a unicast remote object. The parent class SingleRemoteClientRef is responsible for communication with the DGC. The UnicastRemoteClientRef forwards method calls from the stub directly to the technology or uses the local shortcut if the server object is local.

Author:
Christian Nester, Bernhard Haumacher
See Also:
Serialized Form

Field Summary
 
Fields inherited from class uka.karmi.rmi.SingleRemoteClientRef
dgcInfo, serverRef, useUtid
 
Constructor Summary
UnicastRemoteClientRef()
          Constructor required for the Externalizable interface.
UnicastRemoteClientRef(ObjectId objectId, UTID useUtid)
          Creates a remote Ref (not part of the DGC)
UnicastRemoteClientRef(UnicastRemoteServerRef serverRef)
          Creates a local Ref
 
Method Summary
 Remote getImpl()
          Returns the corresponding remote object if the object is exported on a local export point, null otherwise.
 
Methods inherited from class uka.karmi.rmi.SingleRemoteClientRef
equals, finalize, getContext, hashCode, isLocal, readExternal, toString, toStringMembers, writeExternal
 
Methods inherited from class uka.karmi.rmi.RemoteClientRef
getMarshalInput, getMarshalOutput
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnicastRemoteClientRef

public UnicastRemoteClientRef(ObjectId objectId,
                              UTID useUtid)
                       throws RemoteException
Creates a remote Ref (not part of the DGC)


UnicastRemoteClientRef

public UnicastRemoteClientRef(UnicastRemoteServerRef serverRef)
Creates a local Ref


UnicastRemoteClientRef

public UnicastRemoteClientRef()
Constructor required for the Externalizable interface.

Method Detail

getImpl

public Remote getImpl()
Returns the corresponding remote object if the object is exported on a local export point, null otherwise.