9#ifndef liblldb_Host_windows_ConnectionGenericFileWindows_h_
10#define liblldb_Host_windows_ConnectionGenericFileWindows_h_
38 Status *error_ptr)
override;
40 std::string
GetURI()
override;
const ConnectionGenericFile & operator=(const ConnectionGenericFile &)=delete
lldb::ConnectionStatus Disconnect(Status *error_ptr) override
Disconnect the communications connection if one is currently connected.
void InitializeEventHandles()
~ConnectionGenericFile() override
lldb::ConnectionStatus Connect(llvm::StringRef s, Status *error_ptr) override
Connect using the connect string url.
size_t Write(const void *src, size_t src_len, lldb::ConnectionStatus &status, Status *error_ptr) override
The actual write function that attempts to write to the communications protocol.
LARGE_INTEGER m_file_position
void IncrementFilePointer(DWORD amount)
size_t Read(void *dst, size_t dst_len, const Timeout< std::micro > &timeout, lldb::ConnectionStatus &status, Status *error_ptr) override
The read function that attempts to read from the connection.
bool IsConnected() const override
Check if the connection is valid.
ConnectionGenericFile(const ConnectionGenericFile &)=delete
bool InterruptRead() override
Interrupts an ongoing Read() operation.
HANDLE m_event_handles[2]
std::string GetURI() override
Returns a URI that describes this connection object.
A communication connection class.
A class that represents a running process on the host machine.
ConnectionStatus
Connection Status Types.