Route is the interface for working with Routes over the AppDaemon query RPC.

Generated

From ts-rpcdb.ts.tmpl

Hierarchy

  • Routes

Constructors

Properties

The client to use for RPC calls.

connID: string

The connection ID to use for RPC calls.

Methods

  • Deletes the Route with the given ID.

    Parameters

    • id: string

      The name of the route.

    Returns Promise<void>

  • Returns the Route with the given ID.

    Parameters

    • id: string

      The name of the route.

    Returns Promise<Route>

    The Route with the given ID.

  • Returns the Routes with the given cidr.

    Parameters

    • cidr: string

      The CIDR of the route

    Returns Promise<Route[]>

    Any Routes found with the given cidr.

  • Returns the Routes with the given nodeid.

    Parameters

    • nodeid: string

      The ID of the node

    Returns Promise<Route[]>

    Any Routes found with the given nodeid.

  • Puts the given Route.

    Parameters

    • obj: Route

      The Route to put into the mesh storage.

    Returns Promise<void>

Generated using TypeDoc