Overview | Package | Class | Tree | Deprecated | Index | Help
| XCC/J 4.2-9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.marklogic.xcc.spi
Interface SingleHostAddress

    public interface SingleHostAddress

This interface should be implemented by `ConnectionProvider` implementations that make socket connections to a single host and port. The value returned by `getAddress()` will be used to reconstruct the connection `URI` when needed. Custom `ConnectionProvider` implementations that are not point-to-point oriented should not implement this interface.

Method Summary
`InetSocketAddress` | `getAddress()` The address to which connections are made.

Method Detail

### getAddress

    InetSocketAddress getAddress()

  The address to which connections are made.

  Returns:
    An instance of `InetSocketAddress` that represents host/port to which connections are made.

Overview | Package | Class | Tree | Deprecated | Index | Help
| XCC/J 4.2-9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 MarkLogic Corporation, All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com