com.netflix.client
Interface IPrimeConnection

All Superinterfaces:
IClientConfigAware

public interface IPrimeConnection
extends IClientConfigAware

Interface that defines operation for priming a connection.


Method Summary
 boolean connect(Server server, java.lang.String uriPath)
          Sub classes should implement protocol specific operation to connect to a server.
 
Methods inherited from interface com.netflix.client.IClientConfigAware
initWithNiwsConfig
 

Method Detail

connect

boolean connect(Server server,
                java.lang.String uriPath)
                throws java.lang.Exception
Sub classes should implement protocol specific operation to connect to a server.

Parameters:
server - Server to connect
uriPath - URI to use in server connection
Returns:
if the priming is successful
Throws:
java.lang.Exception - Any network errors