Your IP : 18.119.135.67


Current Path : /opt/alt/python27/lib/python2.7/site-packages/raven/transport/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/raven/transport/base.pyc

�
��Yc@@sLdZddlmZeZdefd��YZdefd��YZdS(s�
raven.transport.base
~~~~~~~~~~~~~~~~~~~~

:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
i(tabsolute_importt	TransportcB@s#eZdZeZgZd�ZRS(s�
    All transport implementations need to subclass this class

    You must implement a send method (or an async_send method if
    sub-classing AsyncTransport).
    cC@s
t�dS(s
        You need to override this to do something with the actual
        data. Usually - this is sending to a server
        N(tNotImplementedError(tselfturltdatatheaders((sE/opt/alt/python27/lib/python2.7/site-packages/raven/transport/base.pytsends(t__name__t
__module__t__doc__tFalsetis_asynctschemeR(((sE/opt/alt/python27/lib/python2.7/site-packages/raven/transport/base.pyRstAsyncTransportcB@seZdZeZd�ZRS(s�
    All asynchronous transport implementations should subclass this
    class.

    You must implement a async_send method.
    cC@s
t�dS(s�
        Override this method for asynchronous transports. Call
        `success_cb()` if the send succeeds or `error_cb(exception)`
        if the send fails.
        N(R(RRRRt
success_cbterror_cb((sE/opt/alt/python27/lib/python2.7/site-packages/raven/transport/base.pyt
async_send,s(RR	R
tTrueRR(((sE/opt/alt/python27/lib/python2.7/site-packages/raven/transport/base.pyR"sN(R
t
__future__RRthas_newstyle_transportstobjectRR(((sE/opt/alt/python27/lib/python2.7/site-packages/raven/transport/base.pyt<module>s

?>