Rebus.Interface.Method (rebus v0.4.0)

View Source

A method declared by a Rebus.Interface.

in_signature and out_signature are the argument signatures concatenated, so a method call's body signature can be compared with in_signature directly. no_reply? reflects the org.freedesktop.DBus.Method.NoReply annotation, which annotations always carries when no_reply? is true.

Summary

Types

t()

A declared method.

Types

t()

@type t() :: %Rebus.Interface.Method{
  annotations: [Rebus.Interface.annotation()],
  in_args: [Rebus.Interface.Arg.t()],
  in_signature: binary(),
  name: binary(),
  no_reply?: boolean(),
  out_args: [Rebus.Interface.Arg.t()],
  out_signature: binary()
}

A declared method.