Skip to content

plugins.aea-cli-benchmark.aea_cli_benchmark.case_multiagent_http_dialogues.case

Memory usage across the time.

HttpPingPongHandler Objects

class HttpPingPongHandler(Handler)

Dummy handler to handle messages.

setup

def setup() -> None

Noop setup.

teardown

def teardown() -> None

Noop teardown.

handle

def handle(message: Message) -> None

Handle incoming message.

make_response

def make_response(dialogue: HttpDialogue, message: HttpMessage) -> None

Construct and send a response for message received.

make_request

def make_request(recipient_addr: str) -> None

Make initial http request.

make_agent

def make_agent(*args: Any, **kwargs: Any) -> AEA

Make agent with http protocol support.

run

def run(duration: int, runtime_mode: str, runner_mode: str,
        start_messages: int,
        num_of_agents: int) -> List[Tuple[str, Union[int, float]]]

Test multiagent message exchange.