Instance Method

resume

Starts processing of incoming requests.

Declaration

- (void)resume;

Discussion

All listeners start suspended and must be resumed before they begin processing incoming requests.

If called on the serviceListener object, this method never returns. Therefore, you should call it as the last step inside the XPC service's main function after setting up any desired initial state and configuring the listener itself.

If called on any other NSXPCListener, the connection is resumed, and the method returns immediately.