class FileConnection

Defined at line 36 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.h

Public Methods

void FileConnection (fs::FuchsiaVfs * vfs, fbl::RefPtr<fs::Vnode> vnode, fuchsia_io::Rights rights, zx_koid_t koid)

Refer to documentation for |Connection::Connection|.

Defined at line 44 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

Protected Methods

bool GetAppend ()
void ListExtendedAttributes (ListExtendedAttributesRequestView request, ListExtendedAttributesCompleter::Sync & completer)

Defined at line 88 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.h

void GetExtendedAttribute (GetExtendedAttributeRequestView request, GetExtendedAttributeCompleter::Sync & completer)

Defined at line 92 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.h

zx::result<> SetAppend (bool append)
const zx::stream * stream ()

Defined at line 43 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.h

void BindImpl (zx::channel channel, OnUnbound on_unbound)

|fs::Connection| Implementation

Defined at line 51 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void Unbind ()

Defined at line 62 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void SetExtendedAttribute (SetExtendedAttributeRequestView request, SetExtendedAttributeCompleter::Sync & completer)

Defined at line 96 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.h

void RemoveExtendedAttribute (RemoveExtendedAttributeRequestView request, RemoveExtendedAttributeCompleter::Sync & completer)

Defined at line 100 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.h

zx::result<> WithRepresentation (fit::callback<zx::result<> (fuchsia_io::wire::Representation)> handler, std::optional<fuchsia_io::NodeAttributesQuery> query)

Defined at line 101 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

zx_status_t WithNodeInfoDeprecated (fit::callback<zx_status_t (fuchsia_io::wire::NodeInfoDeprecated)> handler)

Defined at line 87 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void Clone (CloneRequestView request, CloneCompleter::Sync & completer)

|fuchsia.io/Node| operations.

Defined at line 68 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void Close (CloseCompleter::Sync & completer)

Defined at line 74 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void Query (QueryCompleter::Sync & completer)

Defined at line 79 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void LinkInto (fuchsia_io::wire::LinkableLinkIntoRequest * request, LinkIntoCompleter::Sync & completer)

Defined at line 104 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.h

void GetToken (GetTokenCompleter::Sync & completer)

Defined at line 109 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.h

void Allocate (AllocateRequestView request, AllocateCompleter::Sync & completer)

Defined at line 123 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.h

void EnableVerity (EnableVerityRequestView request, EnableVerityCompleter::Sync & completer)

Defined at line 127 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.h

void Sync (SyncCompleter::Sync & completer)

Defined at line 147 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void DeprecatedGetAttr (DeprecatedGetAttrCompleter::Sync & completer)

Defined at line 158 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void DeprecatedSetAttr (DeprecatedSetAttrRequestView request, DeprecatedSetAttrCompleter::Sync & completer)

Defined at line 175 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void GetFlags (GetFlagsCompleter::Sync & completer)

Defined at line 224 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void SetFlags (SetFlagsRequestView request, SetFlagsCompleter::Sync & completer)

Defined at line 232 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void DeprecatedGetFlags (DeprecatedGetFlagsCompleter::Sync & completer)

Defined at line 201 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void DeprecatedSetFlags (DeprecatedSetFlagsRequestView request, DeprecatedSetFlagsCompleter::Sync & completer)

Defined at line 218 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void QueryFilesystem (QueryFilesystemCompleter::Sync & completer)

Defined at line 242 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void GetAttributes (fuchsia_io::wire::NodeGetAttributesRequest * request, GetAttributesCompleter::Sync & completer)

Defined at line 185 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void UpdateAttributes (fuchsia_io::wire::MutableNodeAttributes * request, UpdateAttributesCompleter::Sync & completer)

Defined at line 195 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void Describe (DescribeCompleter::Sync & completer)

|fuchsia.io/File| operations.

Defined at line 133 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void Resize (ResizeRequestView request, ResizeCompleter::Sync & completer)

Defined at line 258 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void GetBackingMemory (GetBackingMemoryRequestView request, GetBackingMemoryCompleter::Sync & completer)

Defined at line 283 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void handle_unknown_method (fidl::UnknownMethodMetadata<fuchsia_io::File> , fidl::UnknownMethodCompleter::Sync & )

Defined at line 306 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

void AdvisoryLock (fidl::WireServer<fuchsia_io::File>::AdvisoryLockRequestView request, AdvisoryLockCompleter::Sync & _completer)

|fuchsia.io/AdvisoryLocking| operations.

Defined at line 294 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

zx_status_t ResizeInternal (uint64_t length)

Defined at line 250 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc

zx_status_t GetBackingMemoryInternal (fuchsia_io::wire::VmoFlags flags, zx::vmo * out_vmo)

Defined at line 267 of file ../../src/storage/lib/vfs/cpp/connection/file_connection.cc