uka.karmi.socket
Class SocketUTID
java.lang.Object
uka.karmi.rmi.UTID
uka.karmi.socket.SocketUTID
- All Implemented Interfaces:
- Anonymous, Immutable, java.io.Serializable
- public class SocketUTID
- extends UTID
UTID class for the socket technology. It contains an internet
address and a port number. A remote socket technology object and
export point can be reached by connecting to this port.
- Author:
- Christian Nester, Bernhard Haumacher
- See Also:
- Serialized Form
|
Field Summary |
(package private) java.net.InetAddress |
hostAddress
|
(package private) int |
port
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
hostAddress
java.net.InetAddress hostAddress
port
int port
SocketUTID
SocketUTID(java.net.InetAddress hostAddress,
int port,
SocketTechnology technology)
- Creates a SocketUTID object for a remote export point
SocketUTID
SocketUTID(int port,
SocketTechnology technology,
ExportPoint ep)
- Creates a SocketUTID object for a local export point. The
caller has to make sure that the port value is correct for
export point ep.
hashCode
public int hashCode()
equals
public boolean equals(java.lang.Object other)
equals
public final boolean equals(SocketUTID other)
toStringMembers
public java.lang.String toStringMembers()
- Overrides:
toStringMembers in class UTID