org.sapia.ubik.rmi.server
Class CommandConnect
java.lang.Object
org.sapia.ubik.rmi.server.command.Command
org.sapia.ubik.rmi.server.RMICommand
org.sapia.ubik.rmi.server.CommandConnect
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Executable
public class CommandConnect
- extends RMICommand
This command sends back a remote reference to the caller, for the server
listening at the port specified in the constructor.
- Author:
- Yanick Duchesne
- Copyright:
- Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
- License:
- Read the license.txt file of the jar or visit the
license page at the Sapia OSS web site
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandConnect
public CommandConnect()
- Do not call; used for externalization only
CommandConnect
public CommandConnect(java.lang.String transportType)
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(java.io.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(java.io.ObjectOutput)
Copyright © 2010 Sapia OSS. All Rights Reserved.