org.objectweb.dream.protocol
Class IPExportIdentifier
java.lang.Object
org.objectweb.dream.protocol.IPExportIdentifier
- All Implemented Interfaces:
- Externalizable, Serializable, ExportIdentifier
public final class IPExportIdentifier
- extends Object
- implements ExportIdentifier, Externalizable
Export identifier created by TCP/IP protocol
- See Also:
- Serialized Form
IPExportIdentifier
public IPExportIdentifier()
- Default constructor
IPExportIdentifier
public IPExportIdentifier(String hostName,
int port)
- Parameters:
hostName
- the host name of the exported interface.port
- the port number of the exported interface.
getHostName
public String getHostName()
- Returns:
- Returns the hostName.
getPort
public int getPort()
- Returns:
- Returns the port.
getNextExportIds
public ExportIdentifier[] getNextExportIds()
- Description copied from interface:
ExportIdentifier
- Returns an array of identifiers corresponding to lower level protocol
layers, if any.
- Specified by:
getNextExportIds
in interface ExportIdentifier
- Returns:
- an array of identifiers corresponding to lower level protocol
layers. If their is no lower level protocol layer, returns an empty
array.
- See Also:
ExportIdentifier.getNextExportIds()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
- See Also:
Externalizable.readExternal(ObjectInput)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
- See Also:
Externalizable.writeExternal(ObjectOutput)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
- See Also:
Object.equals(Object)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.