Class FreeBSDHelper

java.lang.Object
org.freedesktop.dbus.transport.jnr.FreeBSDHelper

@Deprecated(forRemoval=true, since="4.2.2 - 2022-12-23") public final class FreeBSDHelper extends 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 
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final FreeBSDHelper.CmsgCredLayout
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    static boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    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 Details

    • 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 Details

    • FreeBSDHelper

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

    • 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(Socket _us) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • recv_cred

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