dripline.core.endpoint module¶
-
class
dripline.core.endpoint.
Endpoint
(name)[source]¶ Bases:
_dripline.core._Endpoint
Base class for all objects which can be sent dripline requests. Every object described in a runtime configuration passed to dl-serve should derive from this class (either directly or indirectly).
- Parameters
name (str) – the name of the endpoint, specifies the binding key for request messages to which this object should reply
-
do_cmd_request
(self: _dripline.core._Endpoint, arg0: dripline::msg_request) → dripline::msg_reply[source]¶ overridable method for implementing cmd handling behavior
-
do_get_request
(self: _dripline.core._Endpoint, arg0: dripline::msg_request) → dripline::msg_reply[source]¶ overridable method for implementing get handling behavior
-
do_set_request
(self: _dripline.core._Endpoint, arg0: dripline::msg_request) → dripline::msg_reply[source]¶ overridable method for implementing set handling behavior