Echo
The echo application is a contributed application that is included with pax25. It is a simple application that echoes back any message sent to it.
It takes no configuration options and saves no state other than the currently buffered line it is preparing to echo back. Disconnecting must be done by closing the connection manually.
pax25.contrib.echo.Echo
Echo application.
Source code in pax25/contrib/echo.py
| class Echo(Application[EmptyDict]):
"""
Echo application.
"""
def on_message(self, connection: "Connection", message: str) -> None:
"""
Immediately redirect a received message back to the user.
"""
send_message(connection, message)
|
on_message(connection: Connection, message: str) -> None
Immediately redirect a received message back to the user.
Source code in pax25/contrib/echo.py
| def on_message(self, connection: "Connection", message: str) -> None:
"""
Immediately redirect a received message back to the user.
"""
send_message(connection, message)
|