com.netflix.client
Interface IPrimeConnection
- All Superinterfaces:
- com.netflix.client.IClientConfigAware
public interface IPrimeConnection
- extends com.netflix.client.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 |
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 connecturiPath - URI to use in server connection
- Returns:
- if the priming is successful
- Throws:
java.lang.Exception - Any network errors