Instance Method

send(before:components:from:reserved:)

This method is provided for subclasses that have custom types of NSPort.

Declaration

func send(before limitDate: Date, components: NSMutableArray?, from receivePort: Port?, reserved headerSpaceReserved: Int) -> Bool

Parameters

limitDate

The last instant that a message may be sent.

components

The message components.

receivePort

The receive port.

headerSpaceReserved

The number of bytes reserved for the header.

Discussion

NSConnection calls this method at the appropriate times. This method should not be called directly. This method could raise an NSInvalidSendPortException, NSInvalidReceivePortException, or an NSPortSendException, depending on the type of send port and the type of error.

See Also

Setting Information

func send(before: Date, msgid: Int, components: NSMutableArray?, from: Port?, reserved: Int) -> Bool

This method is provided for subclasses that have custom types of NSPort.

var reservedSpaceLength: Int

The number of bytes of space reserved by the receiver for sending data.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software