3.2. Packeter

class snakemq.packeter.Packeter(link)
__init__(link)
Parameters:linkLink
send_packet(conn_id, buf)

Queue data to be sent over the link.

Returns:packet id

3.2.1. Callbacks

Packeter.on_connect = None

func(conn_id)

Packeter.on_disconnect = None

func(conn_id)

Packeter.on_packet_send = None
Packeter.on_packet_recv = None

func(conn_id, packet)

Table Of Contents

Previous topic

3.1. Link

Next topic

3.3. Messaging

This Page