Class ServerInfoSupplier


  • public class ServerInfoSupplier
    extends java.lang.Object
    Supplier which can provide a String representing the server-side connection information.
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerInfoSupplier​(java.lang.String logName)
      Ctr.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String get()  
      void setLogApplicationName​(boolean log, java.lang.String appName)
      Specify whether the instance should record the application name
      void setLogServerIp​(boolean log)
      Specify whether the instance should record the server connection info.
      • Methods inherited from class java.lang.Object

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

      • ServerInfoSupplier

        public ServerInfoSupplier​(java.lang.String logName)
        Ctr.
        Parameters:
        logName - Reference to the logName to record as the module information
    • Method Detail

      • get

        public java.lang.String get()
      • setLogServerIp

        public void setLogServerIp​(boolean log)
        Specify whether the instance should record the server connection info.
        Parameters:
        log - true to record
      • setLogApplicationName

        public void setLogApplicationName​(boolean log,
                                          java.lang.String appName)
        Specify whether the instance should record the application name
        Parameters:
        log - true to record
        appName - String to record as the application name