LLDB mainline
lldb_private::transport Namespace Reference

Namespaces

namespace  detail

Classes

class  Binder
 Binder collects a table of functions that handle calls. More...
class  HTTPDelimitedJSONTransport
 A transport class for JSON with a HTTP header. More...
class  InvalidParams
 An error to indicate that the parameters of a Req, Resp or Evt could not be deserialized. More...
class  IOTransport
 An IOTransport sends and receives messages using an IOObject. More...
class  JSONRPCTransport
 A transport class for JSON RPC. More...
class  JSONTransport
 A transport is responsible for maintaining the connection to a client application, and reading/writing structured messages to it. More...
class  MethodNotFound
 An error to indicate that no handler was registered for a given method. More...
class  TransportUnhandledContentsError
 An error to indicate that the transport reached EOF but there were still unhandled contents in the read buffer. More...

Typedefs

template<typename T>
using Reply
 A handler for the response to an outgoing request.
template<typename R, typename P>
using OutgoingRequest = typename detail::request_t<R, P>::type
template<typename P>
using OutgoingEvent = typename detail::event_t<P>::type
 A function to send an outgoing event.

Typedef Documentation

◆ OutgoingEvent

template<typename P>
using lldb_private::transport::OutgoingEvent = typename detail::event_t<P>::type

A function to send an outgoing event.

Definition at line 405 of file JSONTransport.h.

◆ OutgoingRequest

template<typename R, typename P>
using lldb_private::transport::OutgoingRequest = typename detail::request_t<R, P>::type

Definition at line 402 of file JSONTransport.h.

◆ Reply

template<typename T>
using lldb_private::transport::Reply
Initial value:
std::conditional_t<std::is_void_v<T>,
llvm::unique_function<void(llvm::Error)>,
llvm::unique_function<void(llvm::Expected<T>)>>

A handler for the response to an outgoing request.

Definition at line 381 of file JSONTransport.h.