obspy.clients.seedlink.slclient.SLClient.run
- SLClient.run(packet_handler=None)[source]
Start this SLClient.
- Parameters
packet_handler (callable) –
Custom packet handler funtion to override self.packet_handler for this seedlink request. The function will be repeatedly called with two arguments: the current packet counter (int) and the currently served seedlink packet (
SLPacket
). The function should return True to abort the request or False tocontinue the request.