class InjectionDelegate

Defined at line 32 of file ../../src/developer/debug/debug_agent/posix/file_descriptor_shuffle.h

A Delegate which performs the actions required to perform an injective

multimapping in place.

Public Methods

bool Duplicate (int * result, int fd)

Duplicate |fd|, an element of the domain, and write a fresh element of the

domain into |result|. Returns true iff successful.

bool Move (int src, int dest)

Destructively move |src| to |dest|, overwriting |dest|. Returns true iff

successful.

void Close (int fd)

Delete an element of the domain.

Protected Methods

void ~InjectionDelegate ()

Defined at line 44 of file ../../src/developer/debug/debug_agent/posix/file_descriptor_shuffle.h