166 self.sock.disconnectFromServer() |
166 self.sock.disconnectFromServer() |
167 self.connected = False |
167 self.connected = False |
168 |
168 |
169 def processArgs(self, args): |
169 def processArgs(self, args): |
170 """ |
170 """ |
171 Public method to process the command line args passed to the UI. |
171 Public method to process the command line arguments passed to the UI. |
172 |
172 |
173 <b>Note</b>: This method must be overridden by subclasses. |
173 <b>Note</b>: This method must be overridden by subclasses. |
174 |
174 |
175 @param args command line args (list of strings) |
175 @param args namespace object containing the parsed command line parameters |
|
176 @type argparse.Namespace |
176 @exception NotImplementedError raised to indicate that this method must be |
177 @exception NotImplementedError raised to indicate that this method must be |
177 implemented by a subclass |
178 implemented by a subclass |
178 """ |
179 """ |
179 raise NotImplementedError("'processArgs' must be overridden") |
180 raise NotImplementedError("'processArgs' must be overridden") |
180 |
181 |