CosFileTransfer_File(3)
π 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_PropertySetDefin thecosPropertyapplication. (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
- fedora 43: erlang-cosFileTransfer 1:5.2.2-1.fc43 Β· Apache-2.0
- fedora 44: erlang-cosFileTransfer 1:5.2.2-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms