Class CFMessagePort

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CFMessagePort
    extends CFType
    • Constructor Detail

      • CFMessagePort

        protected CFMessagePort()
    • Method Detail

      • createRemote

        public static CFMessagePort createRemote​(java.lang.String name)
      • sendRequest

        public CFData sendRequest​(int msgid,
                                  CFData data,
                                  double sendTimeout,
                                  double rcvTimeout,
                                  java.lang.String replyMode)
                           throws NSErrorException
        Parameters:
        msgid -
        data -
        sendTimeout -
        rcvTimeout -
        replyMode -
        Returns:
        Throws:
        NSErrorException
      • getClassTypeID

        public static long getClassTypeID()
      • createLocal

        protected static CFMessagePort createLocal​(CFAllocator allocator,
                                                   java.lang.String name,
                                                   org.robovm.rt.bro.ptr.FunctionPtr callout,
                                                   org.robovm.apple.corefoundation.CFMessagePortContext context,
                                                   org.robovm.rt.bro.ptr.BooleanPtr shouldFreeInfo)
      • isRemote

        public boolean isRemote()
      • getName

        public java.lang.String getName()
      • setName

        public boolean setName​(java.lang.String newName)
      • invalidate

        public void invalidate()
      • isValid

        public boolean isValid()
      • setDispatchQueue

        public void setDispatchQueue​(DispatchQueue queue)
        Since:
        Available in iOS 4.0 and later.