CosFileTransfer_File(3)

πŸ“¦
version 5.2.2 Β· 2 versions
, in fedora 43, fedora 44

πŸ’– CosFileTransfer_File β€” the vibe ✨

okay so bestie, welcome to CosFileTransfer_File(3), straight out of the Erlang Module Definition section of the manual. she's a whole module, she's iconic, let's get into it 🫢


🌸 NAME 🌸

CosFileTransfer_File β€” this module implements the OMG CosFileTransfer::File interface. no cap, that's literally her whole job πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so, to get access to the record definitions for the structures, you're gonna wanna use:

-include_lib("cosFileTransfer/include/*.hrl").

periodt. drop that include and the structs are yours πŸ’–

This module also exports the functions described in:

  • CosPropertyService_PropertySetDef in the cosProperty application. (yes she's friends with the cosProperty girlies, they share functions, it's giving collaborative πŸ‘‘)

✨ EXPORTS ✨

every single one of these takes a File = #objref unless it says otherwise. here we go, one by one, no skipping, we don't do that here πŸŽ€

'_get_name'(File) -> string()

Types:

File = #objref

read only attribute bestie. she represents the target object's associated name. that's it, that's the tea 🌸

'_get_complete_file_name'(File) -> string()

Types:

File = #objref

read only attribute again ✨ this one represents the target object's associated absolute name. absolute, like her confidence 😌

'_get_parent'(File) -> Directory

Types:

File = Directory = #objref

read only attribute β€” represents the target object's container. and listen, in some cases a NIL object will be returned, so don't be out here assuming you'll always get a real directory back, okay? set your expectations accordingly πŸ™ˆ

'_get_associated_session'(File) -> FileTransferSession

Types:

File = FileTransferSession = #objref

read only attribute and she represents the target object's associated FileTransferSession. the way she's literally linked to her session… main character energy fr fr πŸ”₯


ngl every single one of these is a read only attribute β€” you're looking, not touching. vibe check passed, hands off 🫢

that's the whole page, you ate it, i'm obsessed πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

this lil masterpiece comes to you from Ericsson AB, part of cosFileTransfer 5.2.2, and yes it's the CosFileTransfer_File(3) page 🌈 mwah, go forth and transfer some files bestie πŸ’œ

πŸ“¦ where this page comes from