|
enum | MsgType {
kUnknown = -1,
kKeepAlive = 0x00,
kClientHello = 0x01,
kProtoUnsup = 0x02,
kServerHelloDone = 0x03,
kServerHello = 0x04,
kClientHelloDone = 0x05,
kEntryAssign = 0x10,
kEntryUpdate = 0x11,
kFlagsUpdate = 0x12,
kEntryDelete = 0x13,
kClearEntries = 0x14,
kExecuteRpc = 0x20,
kRpcResponse = 0x21
} |
|
typedef std::function< NT_Type(unsigned int id)> | GetEntryTypeFunc |
|
|
static std::shared_ptr< Message > | Read (WireDecoder &decoder, GetEntryTypeFunc get_entry_type) |
|
static std::shared_ptr< Message > | KeepAlive () |
|
static std::shared_ptr< Message > | ProtoUnsup () |
|
static std::shared_ptr< Message > | ServerHelloDone () |
|
static std::shared_ptr< Message > | ClientHelloDone () |
|
static std::shared_ptr< Message > | ClearEntries () |
|
static std::shared_ptr< Message > | ClientHello (llvm::StringRef self_id) |
|
static std::shared_ptr< Message > | ServerHello (unsigned int flags, llvm::StringRef self_id) |
|
static std::shared_ptr< Message > | EntryAssign (llvm::StringRef name, unsigned int id, unsigned int seq_num, std::shared_ptr< Value > value, unsigned int flags) |
|
static std::shared_ptr< Message > | EntryUpdate (unsigned int id, unsigned int seq_num, std::shared_ptr< Value > value) |
|
static std::shared_ptr< Message > | FlagsUpdate (unsigned int id, unsigned int flags) |
|
static std::shared_ptr< Message > | EntryDelete (unsigned int id) |
|
static std::shared_ptr< Message > | ExecuteRpc (unsigned int id, unsigned int uid, llvm::StringRef params) |
|
static std::shared_ptr< Message > | RpcResponse (unsigned int id, unsigned int uid, llvm::StringRef result) |
|