com.objectwave.socketClassServer
Class ObjectServerData

java.lang.Object
  |
  +--com.objectwave.socketClassServer.ObjectServerData
All Implemented Interfaces:
java.io.Serializable

public class ObjectServerData
extends java.lang.Object
implements java.io.Serializable

Object used by ObjectRunner to remotely launch an application.

Version:
$Id: ObjectServerData.java,v 2.0 2001/06/11 15:54:25 dave_hoag Exp $
Author:
dhoag
See Also:
ObjectRunner, Serialized Form

Constructor Summary
ObjectServerData(java.net.InetAddress host, int port, java.lang.String className)
           
 
Method Summary
 java.net.InetAddress getHost()
          Gets the Host attribute of the ObjectServerData object
 java.lang.String getHostName()
          Gets the HostName attribute of the ObjectServerData object
 int getPort()
          Gets the Port attribute of the ObjectServerData object
 java.lang.String getRequestClassName()
          Gets the RequestClassName attribute of the ObjectServerData object
static void main(java.lang.String[] args)
          The first argument will be the app name, and the second is the ObjectServer host.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectServerData

public ObjectServerData(java.net.InetAddress host,
                        int port,
                        java.lang.String className)
Parameters:
host - The host of the object server.
port - The port the objects are being served from on the object server.
className - A class that will be found by the object server that implements runnable.
Method Detail

main

public static void main(java.lang.String[] args)
The first argument will be the app name, and the second is the ObjectServer host. The third is the source Location of the ObjectServer that will be able to launch the specified app. The 4th parameter would be the hostPort if the default port of 3000 is not to be used.

Parameters:
args - The command line arguments

getHost

public java.net.InetAddress getHost()
Gets the Host attribute of the ObjectServerData object

Returns:
The Host value

getHostName

public java.lang.String getHostName()
Gets the HostName attribute of the ObjectServerData object

Returns:
The HostName value

getPort

public int getPort()
Gets the Port attribute of the ObjectServerData object

Returns:
The Port value

getRequestClassName

public java.lang.String getRequestClassName()
Gets the RequestClassName attribute of the ObjectServerData object

Returns:
The RequestClassName value