Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.enterprisedt.net.ftp
Class IPEndpoint

    java.lang.Object
      com.enterprisedt.net.ftp.IPEndpoint

    public class IPEndpoint

extends java.lang.Object

Holds details of an IP endpoint, i.e. IP address and port number. Immutuable class.

Version:
  $Revision: 1.1 $
Author:
  Bruce Blackshaw

Constructor Summary
`IPEndpoint(java.lang.String ipAddress, int port)` Constructor

Method Summary
`java.lang.String` | `getIPAddress()` Get the ip address
`int` | `getPort()` Get the port number
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### IPEndpoint

    public IPEndpoint(java.lang.String ipAddress,
                      int port)

  Constructor

  Parameters:
    `ipAddress` - ip address
    `port` - port number

Method Detail

### getIPAddress

    public java.lang.String getIPAddress()

  Get the ip address

  Returns:
    ip address

### getPort

    public int getPort()

  Get the port number

  Returns:
    port number

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2001-2007 Enterprise Distributed Technologies Ltd. All Rights Reserved.