yubin00145865 / iperf

Automatically exported from code.google.com/p/iperf
Other
0 stars 0 forks source link

make a callback for each state change #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Explaination of new feature

to allow maximum flexibility implement a callback per state change
this will allow much cleaner separation of library from the tool

Original issue reported on code.google.com by jdugan.e...@gmail.com on 10 Dec 2009 at 6:44

GoogleCodeExporter commented 8 years ago

Original comment by jdugan.e...@gmail.com on 10 Dec 2009 at 6:52

GoogleCodeExporter commented 8 years ago
Iperf3 now has the following state callbacks available:
* on_connect - executes after a connection is made to the server
* on_new_stream - executes after a new stream is created
* on_test_start - executes right before the test begins
* on_test_finish - executes after the test is finished

By default these functions just display information about the current iperf 
test.

Status set to 'Fixed' until we decide if we need more state callbacks.

Original comment by sethdell...@gmail.com on 27 Jul 2010 at 11:14