Package de.dytanic.cloudnet.wrapper.conf
Interface IWrapperConfiguration
-
- All Known Implementing Classes:
DocumentWrapperConfiguration
public interface IWrapperConfigurationThe configuration mirror of the .wrapper/wrapper.json file in the working folder from the service process. It includes all important data for the Wrapper to connect with the local node.The configuration style is defined in the specific implementation of this interface
-
-
Method Summary
All Methods Instance Methods Abstract 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
java.lang.String getConnectionKey()
The key, for the connection, to authenticate with the provided node and the network- Returns:
- the string which includes the key
-
getTargetListener
de.dytanic.cloudnet.driver.network.HostAndPort getTargetListener()
The address of a listener by the node- Returns:
- the target local listener address of the node
-
getServiceConfiguration
de.dytanic.cloudnet.driver.service.ServiceConfiguration getServiceConfiguration()
The first own serviceConfiguration with all important information about the service- Returns:
- the instance of the ServiceConfiguration class
-
getServiceInfoSnapshot
de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getServiceInfoSnapshot()
The first serviceInfoSnapshot which has the important data for all next serviceInfoSnapshots, which the wrapper has to create- Returns:
- the serviceInfoSnapshot sample
-
getSslConfig
de.dytanic.cloudnet.common.document.gson.JsonDocument getSslConfig()
The ssl configuration, which needs for an optional ssl client connection.- Returns:
- a document instance, which includes all important ssl settings, for a client ssl connection
-
-