clang-tools  14.0.0git
Public Member Functions | List of all members
clang::clangd::Transport::MessageHandler Class Referenceabstract

#include <Transport.h>

Inheritance diagram for clang::clangd::Transport::MessageHandler:
Inheritance graph
[legend]

Public Member Functions

virtual ~MessageHandler ()=default
 
virtual bool onNotify (llvm::StringRef Method, llvm::json::Value)=0
 
virtual bool onCall (llvm::StringRef Method, llvm::json::Value Params, llvm::json::Value ID)=0
 
virtual bool onReply (llvm::json::Value ID, llvm::Expected< llvm::json::Value > Result)=0
 

Detailed Description

Definition at line 47 of file Transport.h.

Constructor & Destructor Documentation

◆ ~MessageHandler()

virtual clang::clangd::Transport::MessageHandler::~MessageHandler ( )
virtualdefault

Member Function Documentation

◆ onCall()

virtual bool clang::clangd::Transport::MessageHandler::onCall ( llvm::StringRef  Method,
llvm::json::Value  Params,
llvm::json::Value  ID 
)
pure virtual

◆ onNotify()

virtual bool clang::clangd::Transport::MessageHandler::onNotify ( llvm::StringRef  Method,
llvm::json::Value   
)
pure virtual

◆ onReply()

virtual bool clang::clangd::Transport::MessageHandler::onReply ( llvm::json::Value  ID,
llvm::Expected< llvm::json::Value Result 
)
pure virtual

The documentation for this class was generated from the following file: