Lines Matching defs:transport

47 import pkg.client.transport.exception   as tx
48 import pkg.client.transport.fileobj as fileobj
60 of the methods that it contains. Leave that to transport-specific
65 """Concrete class of TransportEngine for libcurl transport."""
67 def __init__(self, transport, max_conn=20):
69 # Backpointer to transport object
70 self.__xport = transport
129 """Add a URL to the transport engine. Caller must supply
138 stored as part of the transport stats accounting.
157 reset the transport and generate exceptions for the failed
276 # Otherwise fall through to transport's exception
299 # from transport exception's table.
393 # from transport exception's table.
466 This is a list of transport exceptions. Caller
476 by the transport engine as soon as they occur.
536 stored as part of the transport stats accounting.
571 stored as part of the transport stats accounting.
602 """Run the transport engine. This polls the underlying
626 # If object deletion has given the transport engine orphaned
655 list will be removed from the transport next time run() is
657 to prevent unintended modifications to transport state
697 """Reset the state of the transport engine. Do this
768 These will be included on all requests issued by the transport
779 """Supply a string str and the transport engine will
781 a header that will be common to all transport requests."""
812 # transport statistics later.
995 """Shutdown the transport engine, perform cleanup."""
1060 transport engines. This is used to set per-request options that
1061 are used either by the framework, the transport, or both."""
1071 url - The url that the transport engine should retrieve
1073 filepath - If defined, the transport engine will download the
1078 reads the bytes supplied by the transport engine and writes
1082 data in a response to a transport request.
1088 the content that is requested is a candidate for transport
1101 progtrack - If the transport wants the engine to update
1105 progclass - If the transport was supplied with a ProgressTracker
1107 tracking object in way that allows the transport to invoke
1108 the proper callbacks. The transport instantiates an object
1155 transport statistics."""