Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getConnectionKey()
      The key, for the connection, to authenticate with the provided node and the network
      de.dytanic.cloudnet.driver.service.ServiceConfiguration getServiceConfiguration()
      The first own serviceConfiguration with all important information about the service
      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
      de.dytanic.cloudnet.common.document.gson.JsonDocument getSslConfig()
      The ssl configuration, which needs for an optional ssl client connection.
      de.dytanic.cloudnet.driver.network.HostAndPort getTargetListener()
      The address of a listener by the node
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DocumentWrapperConfiguration

        public DocumentWrapperConfiguration()
    • Method Detail

      • getConnectionKey

        public java.lang.String getConnectionKey()
        Description copied from interface: IWrapperConfiguration
        The key, for the connection, to authenticate with the provided node and the network
        Specified by:
        getConnectionKey in interface IWrapperConfiguration
        Returns:
        the string which includes the key
      • getTargetListener

        public de.dytanic.cloudnet.driver.network.HostAndPort getTargetListener()
        Description copied from interface: IWrapperConfiguration
        The address of a listener by the node
        Specified by:
        getTargetListener in interface IWrapperConfiguration
        Returns:
        the target local listener address of the node
      • getServiceInfoSnapshot

        public de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getServiceInfoSnapshot()
        Description copied from interface: IWrapperConfiguration
        The first serviceInfoSnapshot which has the important data for all next serviceInfoSnapshots, which the wrapper has to create
        Specified by:
        getServiceInfoSnapshot in interface IWrapperConfiguration
        Returns:
        the serviceInfoSnapshot sample
      • getServiceConfiguration

        public de.dytanic.cloudnet.driver.service.ServiceConfiguration getServiceConfiguration()
        Description copied from interface: IWrapperConfiguration
        The first own serviceConfiguration with all important information about the service
        Specified by:
        getServiceConfiguration in interface IWrapperConfiguration
        Returns:
        the instance of the ServiceConfiguration class
      • getSslConfig

        public de.dytanic.cloudnet.common.document.gson.JsonDocument getSslConfig()
        Description copied from interface: IWrapperConfiguration
        The ssl configuration, which needs for an optional ssl client connection.
        Specified by:
        getSslConfig in interface IWrapperConfiguration
        Returns:
        a document instance, which includes all important ssl settings, for a client ssl connection