Package de.dytanic.cloudnet.wrapper.conf
Class DocumentWrapperConfiguration
- java.lang.Object
-
- de.dytanic.cloudnet.wrapper.conf.DocumentWrapperConfiguration
-
- All Implemented Interfaces:
IWrapperConfiguration
public final class DocumentWrapperConfiguration extends java.lang.Object implements IWrapperConfiguration
The default json based wrapper configuration for the service. It loads only the configuration with the constructor all properties once.- See Also:
IWrapperConfiguration
-
-
Constructor Summary
Constructors Constructor Description DocumentWrapperConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConnectionKey()The key, for the connection, to authenticate with the provided node and the networkde.dytanic.cloudnet.driver.service.ServiceConfigurationgetServiceConfiguration()The first own serviceConfiguration with all important information about the servicede.dytanic.cloudnet.driver.service.ServiceInfoSnapshotgetServiceInfoSnapshot()The first serviceInfoSnapshot which has the important data for all next serviceInfoSnapshots, which the wrapper has to createde.dytanic.cloudnet.common.document.gson.JsonDocumentgetSslConfig()The ssl configuration, which needs for an optional ssl client connection.de.dytanic.cloudnet.driver.network.HostAndPortgetTargetListener()The address of a listener by the node
-
-
-
Method Detail
-
getConnectionKey
public java.lang.String getConnectionKey()
Description copied from interface:IWrapperConfigurationThe key, for the connection, to authenticate with the provided node and the network- Specified by:
getConnectionKeyin interfaceIWrapperConfiguration- Returns:
- the string which includes the key
-
getTargetListener
public de.dytanic.cloudnet.driver.network.HostAndPort getTargetListener()
Description copied from interface:IWrapperConfigurationThe address of a listener by the node- Specified by:
getTargetListenerin interfaceIWrapperConfiguration- Returns:
- the target local listener address of the node
-
getServiceInfoSnapshot
public de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getServiceInfoSnapshot()
Description copied from interface:IWrapperConfigurationThe first serviceInfoSnapshot which has the important data for all next serviceInfoSnapshots, which the wrapper has to create- Specified by:
getServiceInfoSnapshotin interfaceIWrapperConfiguration- Returns:
- the serviceInfoSnapshot sample
-
getServiceConfiguration
public de.dytanic.cloudnet.driver.service.ServiceConfiguration getServiceConfiguration()
Description copied from interface:IWrapperConfigurationThe first own serviceConfiguration with all important information about the service- Specified by:
getServiceConfigurationin interfaceIWrapperConfiguration- Returns:
- the instance of the ServiceConfiguration class
-
getSslConfig
public de.dytanic.cloudnet.common.document.gson.JsonDocument getSslConfig()
Description copied from interface:IWrapperConfigurationThe ssl configuration, which needs for an optional ssl client connection.- Specified by:
getSslConfigin interfaceIWrapperConfiguration- Returns:
- a document instance, which includes all important ssl settings, for a client ssl connection
-
-