Class NetCommon

java.lang.Object
org.omegazero.net.common.NetCommon

public final class NetCommon extends Object
  • Field Details

    • VERSION

      public static final String VERSION
      The version string of omz-net-lib.

      This value is set by the build CI pipeline based on the event that triggered the build. Otherwise, this string is always "$BUILDVERSION".

      getVersion() should be used to retrieve the value to prevent compile-time string inlining.

      See Also:
    • SOCKET_ERROR_DEBUG

      public static final boolean SOCKET_ERROR_DEBUG
      System property org.omegazero.net.socketErrorDebug

      Whether the default socket error handler should print socket error messages with log level DEBUG instead of WARN. This may be used to reduce log noise on public-facing servers where there may be many misbehaving clients connecting to it.

      Default: false

  • Constructor Details

    • NetCommon

      public NetCommon()
  • Method Details