Class StandardBrokerConfiguration
java.lang.Object
com.exceptionfactory.socketbroker.configuration.StandardBrokerConfiguration
- All Implemented Interfaces:
BrokerConfiguration
Standard implementation of Broker Configuration
-
Constructor Summary
ConstructorDescriptionStandardBrokerConfiguration
(ProxyType proxyType, InetSocketAddress proxySocketAddress) Standard Broker Configuration without authentication credentialsStandardBrokerConfiguration
(ProxyType proxyType, InetSocketAddress proxySocketAddress, AuthenticationCredentials authenticationCredentials) Standard Broker Configuration with authentication credentials -
Method Summary
Modifier and TypeMethodDescriptionGet optional authentication credentialsGet Proxy Server Socket Address containing address and port numberGet configured Proxy Type
-
Constructor Details
-
StandardBrokerConfiguration
Standard Broker Configuration without authentication credentials- Parameters:
proxyType
- Proxy Type requiredproxySocketAddress
- Proxy Socket Address required
-
StandardBrokerConfiguration
public StandardBrokerConfiguration(ProxyType proxyType, InetSocketAddress proxySocketAddress, AuthenticationCredentials authenticationCredentials) Standard Broker Configuration with authentication credentials- Parameters:
proxyType
- Proxy Type requiredproxySocketAddress
- Proxy Socket Address requiredauthenticationCredentials
- Authentication Credentials required
-
-
Method Details
-
getProxyType
Get configured Proxy Type- Specified by:
getProxyType
in interfaceBrokerConfiguration
- Returns:
- Proxy Type
-
getProxySocketAddress
Get Proxy Server Socket Address containing address and port number- Specified by:
getProxySocketAddress
in interfaceBrokerConfiguration
- Returns:
- Proxy Server Socket Address
-
getAuthenticationCredentials
Get optional authentication credentials- Specified by:
getAuthenticationCredentials
in interfaceBrokerConfiguration
- Returns:
- Authentication Credentials
-