xbox.auxiliary.relay module¶
-
class
xbox.auxiliary.relay.ConsoleConnection(address, port, crypto)¶ Bases:
object-
BUFFER_SIZE= 2048¶
-
start()¶
-
stop()¶
-
handle(data)¶
-
async
send(msg)¶
-
-
class
xbox.auxiliary.relay.LocalConnection¶ Bases:
asyncio.protocols.Protocol-
data_received_event= <xbox.sg.utils.events.Event object>¶
-
connection_made_event= <xbox.sg.utils.events.Event object>¶
-
connection_made(transport: asyncio.transports.BaseTransport) → None¶ Called when a connection is made.
The argument is the transport representing the pipe connection. To receive data, wait for data_received() calls. When the connection is closed, connection_lost() is called.
-