Module mydata_did.v1_0.handlers.data_controller_details_response_handler
Expand source code
from aries_cloudagent.messaging.base_handler import BaseHandler, BaseResponder, RequestContext
from ..messages.data_controller_details_response import DataControllerDetailsResponseMessage
import json
class DataControllerDetailsResponseHandler(BaseHandler):
    """Handle for data-controller/1.0/details-response message"""
    async def handle(self, context: RequestContext, responder: BaseResponder):
        """
        Message handler logic for data-controller/1.0/details-response message.
        """
        # Assert if received message is of type DataControllerDetailsResponseMessage
        assert isinstance(
            context.message, DataControllerDetailsResponseMessage)
        self._logger.info(
            "Received data-controller/1.0/details-response message: \n%s",
            json.dumps(context.message.serialize(), indent=4)
        )
Classes
class DataControllerDetailsResponseHandler- 
Handle for data-controller/1.0/details-response message
Initialize a BaseHandler instance.
Expand source code
class DataControllerDetailsResponseHandler(BaseHandler): """Handle for data-controller/1.0/details-response message""" async def handle(self, context: RequestContext, responder: BaseResponder): """ Message handler logic for data-controller/1.0/details-response message. """ # Assert if received message is of type DataControllerDetailsResponseMessage assert isinstance( context.message, DataControllerDetailsResponseMessage) self._logger.info( "Received data-controller/1.0/details-response message: \n%s", json.dumps(context.message.serialize(), indent=4) )Ancestors
- aries_cloudagent.messaging.base_handler.BaseHandler
 - abc.ABC
 
Methods
async def handle(self, context: aries_cloudagent.messaging.request_context.RequestContext, responder: aries_cloudagent.messaging.responder.BaseResponder)- 
Message handler logic for data-controller/1.0/details-response message.
Expand source code
async def handle(self, context: RequestContext, responder: BaseResponder): """ Message handler logic for data-controller/1.0/details-response message. """ # Assert if received message is of type DataControllerDetailsResponseMessage assert isinstance( context.message, DataControllerDetailsResponseMessage) self._logger.info( "Received data-controller/1.0/details-response message: \n%s", json.dumps(context.message.serialize(), indent=4) )