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 68 of file Connection.h.
|
inlineexplicit |
Definition at line 79 of file Connection.h.
|
inline |
Definition at line 81 of file Connection.h.
void lspserver::OutboundPort::call | ( | llvm::StringRef | Method, |
llvm::json::Value | Params, | ||
llvm::json::Value | ID ) |
Definition at line 65 of file Connection.cpp.
References lspserver::Method, and sendMessage().
void lspserver::OutboundPort::notify | ( | llvm::StringRef | Method, |
llvm::json::Value | Params ) |
Definition at line 58 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 74 of file Connection.cpp.
References sendMessage().
void lspserver::OutboundPort::sendMessage | ( | llvm::json::Value | Message | ) |
Definition at line 91 of file Connection.cpp.
References lspserver::vlog().