Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


com.tangosol.net
Class LoadBalancer.AddressPort

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.net.LoadBalancer.AddressPort

Enclosing class:
LoadBalancer

public static class LoadBalancer.AddressPort
extends Base

An AddressPort is an immutable combination of an IP address and a port number.


Field Summary
 java.net.InetAddress address
          The address.
 int nPort
          The port.

 

Constructor Summary
LoadBalancer.AddressPort(java.net.InetAddress address, int nPort)
          Construct an AddressPort object.

 

Method Summary
 java.lang.String toString()
          Return a human readable description of this AddressPort object.

 

Field Detail

address

public final java.net.InetAddress address
The address.

nPort

public final int nPort
The port.

Constructor Detail

LoadBalancer.AddressPort

public LoadBalancer.AddressPort(java.net.InetAddress address,
                                int nPort)
Construct an AddressPort object.

Method Detail

toString

public java.lang.String toString()
Return a human readable description of this AddressPort object.
Returns:
a human readable description of this AddressPort object

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.