blob: 53a1634858b39ccf0289b034c04b7dda4e1a6e61 [file] [log] [blame]
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>proton.handlers</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script type="text/javascript" src="epydoc.js"></script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">
<!-- Home link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="proton-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Project homepage -->
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center"
><a class="navbar" target="_top" href="http://qpid.apache.org/index.html">Qpid Proton Python API</a></th>
</tr></table></th>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="100%">
<span class="breadcrumbs">
<a href="proton-module.html">Package&nbsp;proton</a> ::
Module&nbsp;handlers
</span>
</td>
<td>
<table cellpadding="0" cellspacing="0">
<!-- hide/show private -->
<tr><td align="right"><span class="options"
>[<a href="frames.html" target="_top">frames</a
>]&nbsp;|&nbsp;<a href="proton.handlers-pysrc.html"
target="_top">no&nbsp;frames</a>]</span></td></tr>
</table>
</td>
</tr>
</table>
<h1 class="epydoc">Source Code for <a href="proton.handlers-module.html" onclick="show_private();">Module proton.handlers</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment"># Licensed to the Apache Software Foundation (ASF) under one</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># or more contributor license agreements. See the NOTICE file</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"># distributed with this work for additional information</tt> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"># regarding copyright ownership. The ASF licenses this file</tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"># to you under the Apache License, Version 2.0 (the</tt> </tt>
<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment"># "License"); you may not use this file except in compliance</tt> </tt>
<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment"># with the License. You may obtain a copy of the License at</tt> </tt>
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"><tt class="py-comment"># http://www.apache.org/licenses/LICENSE-2.0</tt> </tt>
<a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"><tt class="py-comment"># Unless required by applicable law or agreed to in writing,</tt> </tt>
<a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"><tt class="py-comment"># software distributed under the License is distributed on an</tt> </tt>
<a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"><tt class="py-comment"># "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</tt> </tt>
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"><tt class="py-comment"># KIND, either express or implied. See the License for the</tt> </tt>
<a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"><tt class="py-comment"># specific language governing permissions and limitations</tt> </tt>
<a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"><tt class="py-comment"># under the License.</tt> </tt>
<a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> </tt>
<a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">__future__</tt> <tt class="py-keyword">import</tt> <tt class="py-name">absolute_import</tt> </tt>
<a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"> </tt>
<a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module proton._handlers=proton._handlers-module.html"><a title="proton._handlers" class="py-name" href="#" onclick="return doclink('link-0', '_handlers', 'link-0');">_handlers</a></tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Class proton._handlers.MessagingHandler=proton._handlers.MessagingHandler-class.html"><a title="proton._handlers.MessagingHandler" class="py-name" href="#" onclick="return doclink('link-1', 'MessagingHandler', 'link-1');">MessagingHandler</a></tt><tt class="py-op">,</tt> <tt id="link-2" class="py-name" targets="Class proton._handlers.IncomingMessageHandler=proton._handlers.IncomingMessageHandler-class.html"><a title="proton._handlers.IncomingMessageHandler" class="py-name" href="#" onclick="return doclink('link-2', 'IncomingMessageHandler', 'link-2');">IncomingMessageHandler</a></tt><tt class="py-op">,</tt> <tt id="link-3" class="py-name" targets="Class proton._handlers.OutgoingMessageHandler=proton._handlers.OutgoingMessageHandler-class.html"><a title="proton._handlers.OutgoingMessageHandler" class="py-name" href="#" onclick="return doclink('link-3', 'OutgoingMessageHandler', 'link-3');">OutgoingMessageHandler</a></tt><tt class="py-op">,</tt> \ </tt>
<a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> <tt id="link-4" class="py-name" targets="Class proton._handlers.EndpointStateHandler=proton._handlers.EndpointStateHandler-class.html"><a title="proton._handlers.EndpointStateHandler" class="py-name" href="#" onclick="return doclink('link-4', 'EndpointStateHandler', 'link-4');">EndpointStateHandler</a></tt><tt class="py-op">,</tt> <tt id="link-5" class="py-name" targets="Class proton._handlers.TransactionHandler=proton._handlers.TransactionHandler-class.html"><a title="proton._handlers.TransactionHandler" class="py-name" href="#" onclick="return doclink('link-5', 'TransactionHandler', 'link-5');">TransactionHandler</a></tt><tt class="py-op">,</tt> <tt id="link-6" class="py-name" targets="Class proton._handlers.TransactionalClientHandler=proton._handlers.TransactionalClientHandler-class.html"><a title="proton._handlers.TransactionalClientHandler" class="py-name" href="#" onclick="return doclink('link-6', 'TransactionalClientHandler', 'link-6');">TransactionalClientHandler</a></tt><tt class="py-op">,</tt>\ </tt>
<a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> <tt id="link-7" class="py-name" targets="Class proton._handlers.Reject=proton._handlers.Reject-class.html"><a title="proton._handlers.Reject" class="py-name" href="#" onclick="return doclink('link-7', 'Reject', 'link-7');">Reject</a></tt><tt class="py-op">,</tt> <tt id="link-8" class="py-name" targets="Class proton._handlers.Release=proton._handlers.Release-class.html"><a title="proton._handlers.Release" class="py-name" href="#" onclick="return doclink('link-8', 'Release', 'link-8');">Release</a></tt><tt class="py-op">,</tt>\ </tt>
<a name="L25"></a><tt class="py-lineno">25</tt> <tt class="py-line"> <tt id="link-9" class="py-name" targets="Class proton._handlers.Handshaker=proton._handlers.Handshaker-class.html"><a title="proton._handlers.Handshaker" class="py-name" href="#" onclick="return doclink('link-9', 'Handshaker', 'link-9');">Handshaker</a></tt><tt class="py-op">,</tt> <tt id="link-10" class="py-name" targets="Class proton._handlers.FlowController=proton._handlers.FlowController-class.html"><a title="proton._handlers.FlowController" class="py-name" href="#" onclick="return doclink('link-10', 'FlowController', 'link-10');">FlowController</a></tt><tt class="py-op">,</tt> <tt id="link-11" class="py-name" targets="Class proton._handlers.IOHandler=proton._handlers.IOHandler-class.html"><a title="proton._handlers.IOHandler" class="py-name" href="#" onclick="return doclink('link-11', 'IOHandler', 'link-11');">IOHandler</a></tt><tt class="py-op">,</tt> <tt id="link-12" class="py-name" targets="Class proton._handlers.PythonIO=proton._handlers.PythonIO-class.html"><a title="proton._handlers.PythonIO" class="py-name" href="#" onclick="return doclink('link-12', 'PythonIO', 'link-12');">PythonIO</a></tt> </tt>
<a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> </tt>
<a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"><tt class="py-name">__all__</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> </tt>
<a name="L28"></a><tt class="py-lineno">28</tt> <tt class="py-line"> <tt class="py-string">'MessagingHandler'</tt><tt class="py-op">,</tt> </tt>
<a name="L29"></a><tt class="py-lineno">29</tt> <tt class="py-line"> <tt class="py-string">'IncomingMessageHandler'</tt><tt class="py-op">,</tt> </tt>
<a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"> <tt class="py-string">'OutgoingMessageHandler'</tt><tt class="py-op">,</tt> </tt>
<a name="L31"></a><tt class="py-lineno">31</tt> <tt class="py-line"> <tt class="py-string">'EndpointStateHandler'</tt><tt class="py-op">,</tt> </tt>
<a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-string">'TransactionHandler'</tt><tt class="py-op">,</tt> </tt>
<a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"> <tt class="py-string">'TransactionalClientHandler'</tt><tt class="py-op">,</tt> </tt>
<a name="L34"></a><tt class="py-lineno">34</tt> <tt class="py-line"> <tt class="py-string">'Reject'</tt><tt class="py-op">,</tt> </tt>
<a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"> <tt class="py-string">'Release'</tt><tt class="py-op">,</tt> </tt>
<a name="L36"></a><tt class="py-lineno">36</tt> <tt class="py-line"> <tt class="py-string">'Handshaker'</tt><tt class="py-op">,</tt> </tt>
<a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"> <tt class="py-string">'FlowController'</tt><tt class="py-op">,</tt> </tt>
<a name="L38"></a><tt class="py-lineno">38</tt> <tt class="py-line"> <tt class="py-string">'IOHandler'</tt><tt class="py-op">,</tt> </tt>
<a name="L39"></a><tt class="py-lineno">39</tt> <tt class="py-line"> <tt class="py-string">'PythonIO'</tt> </tt>
<a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"><tt class="py-op">]</tt> </tt>
<a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">
<!-- Home link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="proton-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Project homepage -->
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center"
><a class="navbar" target="_top" href="http://qpid.apache.org/index.html">Qpid Proton Python API</a></th>
</tr></table></th>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
>http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
// Private objects are initially displayed (because if
// javascript is turned off then we want them to be
// visible); but by default, we want to hide them. So hide
// them unless we have a cookie that says to show them.
checkCookie();
// -->
</script>
</body>
</html>