telemetry.internal.forwarders | index telemetry/internal/forwarders/__init__.py

`# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.`

Package Contents
`` |  |
android_forwarder cros_forwarder | cros_forwarder_unittest do_nothing_forwarder | do_nothing_forwarder_unittest |

Classes
`` |  | __builtin__.object Forwarder ForwarderFactory __builtin__.tuple(__builtin__.object) PortPair PortPairs
class Forwarder(__builtin__.object)
`` |  | Methods defined here: Close(self) __init__(self, port_pairs) Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` host_ip host_port port_pairs url
class ForwarderFactory(__builtin__.object)
`` |  | Methods defined here: Create(self, port_pairs) `Creates a forwarder that maps remote (device) <-> local (host) ports. Args: port_pairs: A PortPairs instance that consists of a PortPair mapping for each protocol. http is required. https and dns may be None.` Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` does_forwarder_override_dns host_ip
class PortPair(__builtin__.tuple)
`` | `PortPair(local_port, remote_port)`
| Method resolution order: PortPair __builtin__.tuple __builtin__.object Methods defined here: __getnewargs__(self) `Return self as a plain tuple. Used by copy and pickle.` __getstate__(self) `Exclude the OrderedDict from pickling` __repr__(self) `Return a nicely formatted representation string` _asdict(self) `Return a new OrderedDict which maps field names to their values` _replace(_self, **kwds) `Return a new PortPair object replacing specified fields with new values` Class methods defined here: _make(cls, iterable, new=<built-in method __new__ of type object>, len=<built-in function len>) from __builtin__.type `Make a new PortPair object from a sequence or iterable` Static methods defined here: __new__(_cls, local_port, remote_port) `Create new instance of PortPair(local_port, remote_port)` Data descriptors defined here: __dict__ `Return a new OrderedDict which maps field names to their values` local_port `Alias for field number 0` remote_port `Alias for field number 1` Data and other attributes defined here: _fields = ('local_port', 'remote_port') Methods inherited from __builtin__.tuple: __add__(...) `x.__add__(y) <==> x+y` __contains__(...) `x.__contains__(y) <==> y in x` __eq__(...) `x.__eq__(y) <==> x==y` __ge__(...) `x.__ge__(y) <==> x>=y` __getattribute__(...) `x.__getattribute__('name') <==> x.name` __getitem__(...) `x.__getitem__(y) <==> x[y]` __getslice__(...) `x.__getslice__(i, j) <==> x[i:j] Use of negative indices is not supported.` __gt__(...) `x.__gt__(y) <==> x>y` __hash__(...) `x.__hash__() <==> hash(x)` __iter__(...) `x.__iter__() <==> iter(x)` __le__(...) `x.__le__(y) <==> x<=y` __len__(...) `x.__len__() <==> len(x)` __lt__(...) `x.__lt__(y) <==> x<y` __mul__(...) `x.__mul__(n) <==> x*n` __ne__(...) `x.__ne__(y) <==> x!=y` __rmul__(...) `x.__rmul__(n) <==> n*x` __sizeof__(...) `T.__sizeof__() -- size of T in memory, in bytes` count(...) `T.count(value) -> integer -- return number of occurrences of value` index(...) `T.index(value, [start, [stop]]) -> integer -- return first index of value. Raises ValueError if the value is not present.`
class PortPairs(__builtin__.tuple)
`` | `PortPairs(http, https, dns)`
| Method resolution order: PortPairs __builtin__.tuple __builtin__.object Methods defined here: __getnewargs__(self) `Return self as a plain tuple. Used by copy and pickle.` __getstate__(self) `Exclude the OrderedDict from pickling` __repr__(self) `Return a nicely formatted representation string` _asdict(self) `Return a new OrderedDict which maps field names to their values` _replace(_self, **kwds) `Return a new PortPairs object replacing specified fields with new values` Class methods defined here: _make(cls, iterable, new=<built-in method __new__ of type object>, len=<built-in function len>) from __builtin__.type `Make a new PortPairs object from a sequence or iterable` Static methods defined here: __new__(_cls, http, https, dns) `Create new instance of PortPairs(http, https, dns)` Data descriptors defined here: __dict__ `Return a new OrderedDict which maps field names to their values` dns `Alias for field number 2` http `Alias for field number 0` https `Alias for field number 1` Data and other attributes defined here: _fields = ('http', 'https', 'dns') Methods inherited from __builtin__.tuple: __add__(...) `x.__add__(y) <==> x+y` __contains__(...) `x.__contains__(y) <==> y in x` __eq__(...) `x.__eq__(y) <==> x==y` __ge__(...) `x.__ge__(y) <==> x>=y` __getattribute__(...) `x.__getattribute__('name') <==> x.name` __getitem__(...) `x.__getitem__(y) <==> x[y]` __getslice__(...) `x.__getslice__(i, j) <==> x[i:j] Use of negative indices is not supported.` __gt__(...) `x.__gt__(y) <==> x>y` __hash__(...) `x.__hash__() <==> hash(x)` __iter__(...) `x.__iter__() <==> iter(x)` __le__(...) `x.__le__(y) <==> x<=y` __len__(...) `x.__len__() <==> len(x)` __lt__(...) `x.__lt__(y) <==> x<y` __mul__(...) `x.__mul__(n) <==> x*n` __ne__(...) `x.__ne__(y) <==> x!=y` __rmul__(...) `x.__rmul__(n) <==> n*x` __sizeof__(...) `T.__sizeof__() -- size of T in memory, in bytes` count(...) `T.count(value) -> integer -- return number of occurrences of value` index(...) `T.index(value, [start, [stop]]) -> integer -- return first index of value. Raises ValueError if the value is not present.`