<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.7.0 - 10.13.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSConnection/dispatchWithComponents:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSConnection(im)dispatchWithComponents:"
  },
  "title" : "dispatchWithComponents:"
}
-->

# dispatchWithComponents:

Allows subclasses to ask a connection object to dispatch component data.

```
- (void) dispatchWithComponents:(NSArray *) components;
```

## Parameters

`components`

Distributed Objects component data.

## Discussion

[`Port`](/documentation/Foundation/Port) subclasses should use this method to ask a connection object to dispatch Distributed Objects component data received over the wire. This will decode the data, authenticate, and send the message.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)