All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.habanero.ConnectionInfo

java.lang.Object
   |
   +----ncsa.habanero.ConnectionInfo

public class ConnectionInfo
extends Object
implements Marshallable
This is used to marshall an unknown object by writing out its contents and the name of the class, so that somehow the class can be reconstituted at the other end. It really only handles Strings right now


Variable Index

 o portNum
 o server

Constructor Index

 o ConnectionInfo()
 o ConnectionInfo(int)
 o ConnectionInfo(String, int)

Method Index

 o getPort()
 o getServer()
 o toString()

Variables

 o server
 protected String server
 o portNum
 protected int portNum

Constructors

 o ConnectionInfo
 public ConnectionInfo(String sv,
                       int port)
 o ConnectionInfo
 public ConnectionInfo(int port)
 o ConnectionInfo
 public ConnectionInfo()
Returns:
Default constructor called if the next call will be a marshall()

Methods

 o toString
 public String toString()
Returns:
returns a string that represents this object
Overrides:
toString in class Object
 o getServer
 public String getServer()
 o getPort
 public int getPort()

All Packages  Class Hierarchy  This Package  Previous  Next  Index