Contents

registerPort:name:

Registers a port with a specified name.

Declaration

- (BOOL) registerPort:(NSPort *) port name:(NSString *) name;

Parameters

  • port:

    The port object to register with the bootstrap server.

  • name:

    The name to associate with port.

Return Value

true if the registration succeeded, false otherwise.

Discussion

Once registered, a port cannot be unregistered; instead, you need to invalidate the port.