How to terminate OnReceiveStore

41 views
Skip to first unread message

sebastia...@gmail.com

unread,
Jan 17, 2016, 11:00:23 PM1/17/16
to pynetdicom
Hi,

When setting up a receiving server such as per
https://pythonhosted.org/pynetdicom/_downloads/storescp.py

the supplied method to terminate it is via KeyboardInterrupt.

Is there a way to programatically terminate once a certain condition has been met ?

For example once a file has been received it should shut down.

MyAE.Quit() terminates the receivestore immediately.

Any help would be appreciated.

Regards,
Sebastian
Reply all
Reply to author
Forward
0 new messages