aries_cloudagent.protocols.trustping.v1_0.handlers package

Submodules

aries_cloudagent.protocols.trustping.v1_0.handlers.ping_handler module

Ping handler.

class aries_cloudagent.protocols.trustping.v1_0.handlers.ping_handler.PingHandler[source]

Bases: BaseHandler

Ping handler class.

async handle(context: RequestContext, responder: BaseResponder)[source]

Handle ping message.

Parameters
  • context – Request context

  • responder – Responder used to reply

aries_cloudagent.protocols.trustping.v1_0.handlers.ping_response_handler module

Ping response handler.

class aries_cloudagent.protocols.trustping.v1_0.handlers.ping_response_handler.PingResponseHandler[source]

Bases: BaseHandler

Ping response handler class.

async handle(context: RequestContext, responder: BaseResponder)[source]

Handle ping response message.

Parameters
  • context – Request context

  • responder – Responder used to reply