Manually aborts the connection.
Manually closes the connection gracefully after waiting for all pending invocations to complete.
A promise that resolves when the close operation is complete.
Creates a special proxy that always uses this connection. This is useful for callbacks from a server to a client when the server cannot directly establish a connection to the client, such as in cases where firewalls are present. In such scenarios, the server would create a proxy using an already established connection from the client.
The identity for which the proxy is to be created.
A proxy that matches the given identity and uses this connection.
Disables the inactivity check on this connection.
Flush any pending batch requests for this connection. This means all batch requests invoked on fixed proxies associated with the connection.
The asynchronous result object for the invocation.
Gets the object adapter associated with this connection.
The object adapter associated with this connection.
Get the endpoint from which the connection was created.
The endpoint from which the connection was created.
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 outgoing connection is the communicator's default object adapter.
The object adapter to associate with this connection.
Sets a close callback on the connection. The callback is invoked by the connection when it is closed. If the callback needs more information about the closure, it can call Connection#throwException.
The close callback object.
Throw an exception indicating the reason for connection closure. For example, CloseConnectionException is raised if the connection was closed gracefully, whereas ConnectionAbortedException/ConnectionClosedException is raised if the connection was manually closed by the application. This operation does nothing if the connection is not yet closed.
Return a description of the connection as human readable text, suitable for logging or error messages.
The description of the connection as human readable text.
Returns the connection type, which corresponds to the endpoint type (e.g., "tcp", "udp", etc.).
The type of the connection.
The user-level interface to a connection.