diff --git a/skein/core.py b/skein/core.py index 9fda7d0..dffba71 100644 --- a/skein/core.py +++ b/skein/core.py @@ -845,6 +845,13 @@ def kill_application(self, app_id, user=""): """ self._call('kill', proto.KillRequest(id=app_id, user=user)) + def ping(self): + try: + # Ping server to check connection + self._call('ping', proto.Empty()) + except Exception: + raise + class ApplicationClient(_ClientBase): """A client for the application master.