public interface IInterpreter
| 限定符和类型 | 方法和说明 |
|---|---|
String |
FormatCommand(List<String> str) |
String |
FormatCommand(String str) |
List<IRespNode> |
IntepretResponse(String response) |
String FormatCommand(String str) throws Exception
str - single command, just like 'INFO' or 'GET akey'Exception - parsing exceptionString FormatCommand(List<String> str) throws Exception
str - multiple commands, just like list which includes strings of 'INFO' and 'GET akey'Exception - parsing exceptionCopyright © 2016. All rights reserved.