---
title: "Dispatch"
url: https://docs.zeroc.com/ice/3.8/runtime/dispatch
docs_index: https://docs.zeroc.com/llms.txt
---

> For an index of every page, see [llms.txt](https://docs.zeroc.com/llms.txt).

# Dispatch

This page is written for C++, C#, Java, JavaScript, Python, and Swift.

Parts of this page are for some programming languages only, and name them. For one language's text alone, see [C++](https://docs.zeroc.com/ice/3.8/runtime/dispatch/cpp.md), [C#](https://docs.zeroc.com/ice/3.8/runtime/dispatch/csharp.md), [Java](https://docs.zeroc.com/ice/3.8/runtime/dispatch/java.md), [JavaScript](https://docs.zeroc.com/ice/3.8/runtime/dispatch/js.md), [Python](https://docs.zeroc.com/ice/3.8/runtime/dispatch/python.md), and [Swift](https://docs.zeroc.com/ice/3.8/runtime/dispatch/swift.md).

A *dispatch* is the server-side processing of a request.

> **C++, C#, Java, Python, and Swift**
>
> In Ice, only an *object adapter* can accept connections and dispatch requests. An object adapter dispatches the requests it receives from:
>
> - The connections that it accepts on its [endpoints](https://docs.zeroc.com/ice/3.8/runtime/dispatch/object-adapter-endpoints.md).
> - [Collocated invocations](https://docs.zeroc.com/ice/3.8/runtime/collocated-invocation-and-dispatch.md), which use no connection.
> - [Bidirectional connections](https://docs.zeroc.com/ice/3.8/runtime/connection-management/bidirectional-connections.md): outgoing connections that you associate with this object adapter. Create an object adapter without endpoints for this purpose.

> **JavaScript**
>
> An *object adapter* dispatches the requests it receives over [bidirectional connections](https://docs.zeroc.com/ice/3.8/runtime/connection-management/bidirectional-connections/js.md): outgoing connections that you associate with this object adapter.

A communicator can have several object adapters. The name of an object adapter is the prefix of the [properties](https://docs.zeroc.com/ice/3.8/property-reference/object-adapter-properties.md) that configure it, so choose a name that is easy to type. A non-empty name is unique within its communicator.
