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
-
portNum
-
-
server
-
-
ConnectionInfo()
-
-
ConnectionInfo(int)
-
-
ConnectionInfo(String, int)
-
-
getPort()
-
-
getServer()
-
-
toString()
-
server
protected String server
portNum
protected int portNum
ConnectionInfo
public ConnectionInfo(String sv,
int port)
ConnectionInfo
public ConnectionInfo(int port)
ConnectionInfo
public ConnectionInfo()
- Returns:
- Default constructor called if the next call will be a marshall()
toString
public String toString()
- Returns:
- returns a string that represents this object
- Overrides:
- toString in class Object
getServer
public String getServer()
getPort
public int getPort()
All Packages Class Hierarchy This Package Previous Next Index