Package io.sisu.nng

Class Nng


  • public class Nng
    extends java.lang.Object
    Simple singleton access point. Only works in simple environments where nng is installed in standard places. Use either the
    jna.library.path
    System property or set a
    JNA_LIBRARY_PATH
    environment variable to point to the location of libnng if it's not already accessible. You may need to also add this to the classpath.
    • Constructor Detail

      • Nng

        public Nng()
    • Method Detail

      • lib

        public static NngLibrary lib()
        Get a reference to the nng library, registering it if needed.
        Returns:
        a direct-mapped NngLibrary utilizing native methods