diff options
| author | jason | 2016-07-30 17:34:05 -0600 |
|---|---|---|
| committer | jason | 2016-07-30 17:34:05 -0600 |
| commit | 68f1e25218c19a8addd897d5f3e8bc02ae3c2edd (patch) | |
| tree | fbc7847fcc69a68725d67d53d23e4657d5c660b8 /warmachine/connections/base.py | |
| parent | 6c36d2c2f8e8a58e9db8fe1d29a53a95c89c6879 (diff) | |
| download | warmachine-ng-68f1e25218c19a8addd897d5f3e8bc02ae3c2edd.tar.gz warmachine-ng-68f1e25218c19a8addd897d5f3e8bc02ae3c2edd.zip | |
standup with a timer
Diffstat (limited to 'warmachine/connections/base.py')
| -rw-r--r-- | warmachine/connections/base.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/warmachine/connections/base.py b/warmachine/connections/base.py index e68e9b9..4df5996 100644 --- a/warmachine/connections/base.py +++ b/warmachine/connections/base.py | |||
| @@ -26,6 +26,13 @@ class Connection(object): | |||
| 26 | raise NotImplementedError('{} must implement `read` method'.format( | 26 | raise NotImplementedError('{} must implement `read` method'.format( |
| 27 | self.__class__.__name__)) | 27 | self.__class__.__name__)) |
| 28 | 28 | ||
| 29 | def get_users_by_channel(self, channel): | ||
| 30 | """ | ||
| 31 | Return a list of users who are in the provided channel | ||
| 32 | """ | ||
| 33 | raise NotImplementedError('{} must implement `get_users_by_channel` ' | ||
| 34 | 'method'.format(self.__class__.__name__)) | ||
| 35 | |||
| 29 | def id(self): | 36 | def id(self): |
| 30 | """ | 37 | """ |
| 31 | Unique ID for this connection. Since there can be more than one | 38 | Unique ID for this connection. Since there can be more than one |