XCC/J 4.0-9

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.

XCC/J 4.0-9

Copyright © 2003-2010 Mark Logic Corporation, All Rights Reserved.

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