1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
7 """ A base class of devices.
8 A device instance contains all the necessary information for constructing
9 a platform backend object for remote platforms.
12 name: A device name string in human-understandable term.
13 guid: A unique id of the device. Subclass of device must specify this
14 id properly so that device objects to a same actual device must have same
18 def __init__(self, name, guid):
31 def GetAllConnectedDevices(cls):
32 raise NotImplementedError()