|
nixd
|
#include <Connection.h>
Public Member Functions | |
| OutboundPort (bool Pretty=false) | |
| OutboundPort (llvm::raw_ostream &Outs, bool Pretty=false) | |
| void | notify (llvm::StringRef Method, llvm::json::Value Params) |
| void | call (llvm::StringRef Method, llvm::json::Value Params, llvm::json::Value ID) |
| void | reply (llvm::json::Value ID, llvm::Expected< llvm::json::Value > Result) |
| void | sendMessage (llvm::json::Value Message) |
Definition at line 70 of file Connection.h.
|
inlineexplicit |
Definition at line 81 of file Connection.h.
|
inline |
Definition at line 83 of file Connection.h.
| void lspserver::OutboundPort::call | ( | llvm::StringRef | Method, |
| llvm::json::Value | Params, | ||
| llvm::json::Value | ID ) |
Definition at line 87 of file Connection.cpp.
References lspserver::Method, and sendMessage().
| void lspserver::OutboundPort::notify | ( | llvm::StringRef | Method, |
| llvm::json::Value | Params ) |
Definition at line 80 of file Connection.cpp.
References lspserver::Method, and sendMessage().
Referenced by lspserver::LSPServer::mkOutNotifiction().
| void lspserver::OutboundPort::reply | ( | llvm::json::Value | ID, |
| llvm::Expected< llvm::json::Value > | Result ) |
Definition at line 96 of file Connection.cpp.
References sendMessage().
| void lspserver::OutboundPort::sendMessage | ( | llvm::json::Value | Message | ) |
Definition at line 113 of file Connection.cpp.
References lspserver::vlog().