Rev 999 | Rev 1008 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 999 | Rev 1007 | ||
|---|---|---|---|
| Line 52... | Line 52... | ||
| 52 | 52 | ||
| 53 | void queueExpression(Expression expression); |
53 | void queueExpression(Expression expression); |
| 54 | void queueExpression(string script) { queueExpression(Expression(script)); }; |
54 | void queueExpression(string script) { queueExpression(Expression(script)); }; |
| 55 | 55 | ||
| 56 | bool loadScript(string scriptName); |
56 | bool loadScript(string scriptName); |
| - | 57 | bool loadDataStore(string storeName); |
|
| 57 | 58 | ||
| 58 | unsigned int startIntervalThread(unsigned int timeout); |
59 | unsigned int startIntervalThread(unsigned int timeout); |
| 59 | bool stopIntervalThread(unsigned int id); |
60 | bool stopIntervalThread(unsigned int id); |
| 60 | 61 | ||
| 61 | unsigned int startSocketThread(string address, int port, unsigned int reconnectTimeout); |
62 | unsigned int startSocketThread(string address, int port, unsigned int reconnectTimeout); |
| Line 77... | Line 78... | ||
| 77 | static Handle<Value> _startIntervalThread(const Arguments& args); |
78 | static Handle<Value> _startIntervalThread(const Arguments& args); |
| 78 | static Handle<Value> _stopSocketThread(const Arguments& args); |
79 | static Handle<Value> _stopSocketThread(const Arguments& args); |
| 79 | static Handle<Value> _startSocketThread(const Arguments& args); |
80 | static Handle<Value> _startSocketThread(const Arguments& args); |
| 80 | static Handle<Value> _sendToSocketThread(const Arguments& args); |
81 | static Handle<Value> _sendToSocketThread(const Arguments& args); |
| 81 | static Handle<Value> _uint2hex(const Arguments& args); |
82 | static Handle<Value> _uint2hex(const Arguments& args); |
| - | 83 | static Handle<Value> _loadDataStore(const Arguments& args); |
|
| 82 | 84 | ||
| 83 | private: |
85 | private: |
| 84 | bool runExpression(Expression expression); |
86 | bool runExpression(Expression expression); |
| 85 | string formatException(TryCatch* tryCatch); |
87 | string formatException(TryCatch* tryCatch); |
| 86 | 88 | ||