Package com.io7m.waxmill.client.api
Interface WXMClientProviderType
- All Known Implementing Classes:
WXMClients
public interface WXMClientProviderType
A provider of clients.
-
Method Summary
Modifier and Type Method Description WXMClientTypeopen(WXMClientConfiguration configuration)Open a client using the given client configuration.WXMClientTypeopen(java.nio.file.Path configurationFile)Open a client using the given client configuration file.
-
Method Details
-
open
Open a client using the given client configuration.- Parameters:
configuration- The client configuration- Returns:
- A new client
- Throws:
WXMException- On errors
-
open
Open a client using the given client configuration file.- Parameters:
configurationFile- The path to the client configuration file- Returns:
- A new client
- Throws:
WXMException- On errors
-