.. toctree::
   :maxdepth: 2

Common notifications
--------------------

.. include:: /../../examples/hlapi/twisted/agent/ntforg/default-v1-trap.py
   :start-after: """
   :end-before: """#

.. literalinclude:: /../../examples/hlapi/twisted/agent/ntforg/default-v1-trap.py
   :start-after: """#
   :language: python

:download:`Download</../../examples/hlapi/twisted/agent/ntforg/default-v1-trap.py>` script.

.. include:: /../../examples/hlapi/twisted/agent/ntforg/v2c-trap-inline-callbacks.py
   :start-after: """
   :end-before: """#

.. literalinclude:: /../../examples/hlapi/twisted/agent/ntforg/v2c-trap-inline-callbacks.py
   :start-after: """#
   :language: python

:download:`Download</../../examples/hlapi/twisted/agent/ntforg/v2c-trap-inline-callbacks.py>` script.

See also: :doc:`library reference </docs/api-reference>`.
