Class FreeBSDHelper


  • @Deprecated(forRemoval=true,
                since="4.2.2 - 2022-12-23")
    public final class FreeBSDHelper
    extends java.lang.Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    no longer used
    Helpers to support FreeBSD. Ideally some of these will be abstracted and moved to jnr-unixsocket at some point.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  FreeBSDHelper.CmsgCredLayout
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private FreeBSDHelper()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static boolean isFreeBSD()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      static long recv_cred​(java.net.Socket _us)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      static void send_cred​(java.net.Socket _us)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

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

      • CMSG_CRED_LAYOUT

        private static final FreeBSDHelper.CmsgCredLayout CMSG_CRED_LAYOUT
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Constructor Detail

      • FreeBSDHelper

        private FreeBSDHelper()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • isFreeBSD

        public static boolean isFreeBSD()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • send_cred

        public static void send_cred​(java.net.Socket _us)
                              throws java.io.IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        java.io.IOException
      • recv_cred

        public static long recv_cred​(java.net.Socket _us)
        Deprecated, for removal: This API element is subject to removal in a future version.