Associates an object adapter with this connection.
When a connection receives a request, it dispatches this request using its associated object adapter. If the associated object adapter is null, the connection rejects any incoming request with an ObjectNotExistException. The default object adapter of an incoming connection is the object adapter that created this connection; the default object adapter of an outgoing connection is the communicator's default object adapter.
- Parameters
-
adapter | The object adapter to associate with this connection. |
- See also
- Communicator::getDefaultObjectAdapter
-
getAdapter