@zeroc/ice
    Preparing search index...

    Class PropertiesAdminAbstract

    Provides remote access to the properties of a communicator.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Dispatches an incoming request to one of the methods of this generated class, based on the operation name carried by the request.

      Parameters

      Returns OutgoingResponse | PromiseLike<OutgoingResponse>

      The outgoing response (when the selected method returns a value), or a promise with the outgoing response (when the selected method returns a promise).

      Ice marshals any exception thrown by this method into the response.

    • Gets all properties whose keys begin with prefix. If prefix is the empty string then all properties are returned.

      Parameters

      • prefix: string

        The prefix to search for. May be empty.

      • current: Current

        The Current object for the dispatch.

      Returns Map<string, string> | PromiseLike<Map<string, string>>

      A promise like object representing the result of the dispatch, which resolves to:

      • Map<string, string> : The matching property set.
    • Gets a property by key.

      Parameters

      • key: string

        The property key.

      • current: Current

        The Current object for the dispatch.

      Returns string | PromiseLike<string>

      A promise like object representing the result of the dispatch, which resolves to:

      • string : The property value. This value is empty if the property is not set.
    • Returns the Slice type ID of the most-derived interface supported by this object.

      Parameters

      • current: Current

        The Current object for the invocation.

      Returns string | PromiseLike<string>

      The Slice type ID of the most-derived interface.

    • Returns the Slice type IDs of the interfaces supported by this object.

      Parameters

      • current: Current

        The Current object for the invocation.

      Returns string[] | PromiseLike<string[]>

      The Slice type IDs of the interfaces supported by this object, in alphabetical order.

    • Tests whether this object supports a specific Slice interface.

      Parameters

      • typeID: string

        The type ID of the Slice interface to test against.

      • current: Current

        The Current object for the invocation.

      Returns boolean | PromiseLike<boolean>

      True if this object has the interface specified by typeID or derives from the interface specified by typeID.

    • Tests whether this object can be reached.

      Parameters

      • current: Current

        The Current object for the invocation.

      Returns void | PromiseLike<void>

    • Updates the communicator's properties with the given property set. If an entry in newProperties matches the name of an existing property, that property's value is replaced with the new value. If the new value is the empty string, the property is removed. Existing properties that are not modified or removed by the entries in newProperties are not affected by this update.

      Parameters

      • newProperties: Map<string, string>

        Properties to add, change, or remove.

      • current: Current

        The Current object for the dispatch.

      Returns void | PromiseLike<void>

      A promise like object representing the result of the dispatch.

    • Obtains the Slice type ID of this type.

      Returns string

      The return value is always "::Ice::PropertiesAdmin".