org.openware.jdf
Class Location
java.lang.Object
|
+--org.openware.jdf.Location
- All Implemented Interfaces:
- java.io.Serializable
- public class Location
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
Location(int port)
Create a new Location object for the local machine on the given
port. |
Location(java.lang.String address,
int port)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Location
public Location(int port)
throws java.net.UnknownHostException
- Create a new Location object for the local machine on the given
port.
Location
public Location(java.lang.String address,
int port)
getSocket
public java.net.Socket getSocket()
throws java.io.IOException,
java.net.UnknownHostException
setPort
public void setPort(int port)
equals
public boolean equals(Location loc)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000, 2001 Openware, Spin Software. All Rights Reserved.