com.sun.jmx.remote.opt.internal
Class ProxyRef

java.lang.Object
  extended by com.sun.jmx.remote.opt.internal.ProxyRef
All Implemented Interfaces:
Externalizable, Serializable, RemoteRef

public class ProxyRef
extends Object
implements RemoteRef

See Also:
Serialized Form

Field Summary
protected  RemoteRef ref
           
 
Fields inherited from interface java.rmi.server.RemoteRef
packagePrefix, serialVersionUID
 
Constructor Summary
ProxyRef(RemoteRef ref)
           
 
Method Summary
 void done(RemoteCall call)
           
 String getRefClass(ObjectOutput out)
           
 void invoke(RemoteCall call)
           
 Object invoke(Remote obj, Method method, Object[] params, long opnum)
           
 RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash)
           
 void readExternal(ObjectInput in)
           
 boolean remoteEquals(RemoteRef obj)
           
 int remoteHashCode()
           
 String remoteToString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ref

protected RemoteRef ref
Constructor Detail

ProxyRef

public ProxyRef(RemoteRef ref)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

invoke

public void invoke(RemoteCall call)
            throws Exception
Specified by:
invoke in interface RemoteRef
Throws:
Exception

invoke

public Object invoke(Remote obj,
                     Method method,
                     Object[] params,
                     long opnum)
              throws Exception
Specified by:
invoke in interface RemoteRef
Throws:
Exception

done

public void done(RemoteCall call)
          throws RemoteException
Specified by:
done in interface RemoteRef
Throws:
RemoteException

getRefClass

public String getRefClass(ObjectOutput out)
Specified by:
getRefClass in interface RemoteRef

newCall

public RemoteCall newCall(RemoteObject obj,
                          Operation[] op,
                          int opnum,
                          long hash)
                   throws RemoteException
Specified by:
newCall in interface RemoteRef
Throws:
RemoteException

remoteEquals

public boolean remoteEquals(RemoteRef obj)
Specified by:
remoteEquals in interface RemoteRef

remoteHashCode

public int remoteHashCode()
Specified by:
remoteHashCode in interface RemoteRef

remoteToString

public String remoteToString()
Specified by:
remoteToString in interface RemoteRef


Copyright © 2014 Terracotta, Inc.. All rights reserved.