Your IP : 18.119.135.67
�
��Yc @@ sL d Z d d l m Z e Z d e f d � � YZ d e f d � � YZ d S( 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 ( t absolute_importt Transportc B@ s# e Z d Z e Z g Z d � Z RS( s�
All transport implementations need to subclass this class
You must implement a send method (or an async_send method if
sub-classing AsyncTransport).
c C@ s
t � d S( s
You need to override this to do something with the actual
data. Usually - this is sending to a server
N( t NotImplementedError( t selft urlt datat headers( ( sE /opt/alt/python27/lib/python2.7/site-packages/raven/transport/base.pyt send s ( t __name__t
__module__t __doc__t Falset is_asynct schemeR ( ( ( sE /opt/alt/python27/lib/python2.7/site-packages/raven/transport/base.pyR s t AsyncTransportc B@ s e Z d Z e Z d � Z RS( s�
All asynchronous transport implementations should subclass this
class.
You must implement a async_send method.
c C@ s
t � d S( s�
Override this method for asynchronous transports. Call
`success_cb()` if the send succeeds or `error_cb(exception)`
if the send fails.
N( R ( R R R R t
success_cbt error_cb( ( sE /opt/alt/python27/lib/python2.7/site-packages/raven/transport/base.pyt
async_send, s ( R R R
t TrueR R ( ( ( sE /opt/alt/python27/lib/python2.7/site-packages/raven/transport/base.pyR "