org.sapia.ubik.rmi.server.gc
Class CommandRefer
java.lang.Object
org.sapia.ubik.rmi.server.command.Command
org.sapia.ubik.rmi.server.RMICommand
org.sapia.ubik.rmi.server.gc.CommandRefer
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Executable
public class CommandRefer
- extends RMICommand
A command sent from the client indicating that it refers to a remote
object living on the server side.
- Author:
- Yanick Duchesne
2002-08-25
- See Also:
- Serialized Form
|
Constructor Summary |
CommandRefer()
Do not call; used for externalization only |
CommandRefer(OID oid)
This constructor takes the object identifier of the remote object
to refer to. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandRefer
public CommandRefer()
- Do not call; used for externalization only
CommandRefer
public CommandRefer(OID oid)
- This constructor takes the object identifier of the remote object
to refer to.
- Parameters:
an - OID
execute
public java.lang.Object execute()
throws java.lang.Throwable
- Description copied from class:
RMICommand
- Executes this command.
- Specified by:
execute in interface Executable- Specified by:
execute in class RMICommand
- Returns:
- any value returned by this method.
- Throws:
java.lang.Throwable - if an error occurs while executing this command- See Also:
RMICommand.execute()
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable- Overrides:
readExternal in class RMICommand
- Throws:
java.io.IOException
java.lang.ClassNotFoundException- See Also:
RMICommand.readExternal(ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable- Overrides:
writeExternal in class RMICommand
- Throws:
java.io.IOException- See Also:
RMICommand.writeExternal(ObjectOutput)
Copyright © 2010 Sapia OSS. All Rights Reserved.