CRecordFileStoreStoreFile

This is an internal message from FileStores.

This message saves a file from a target to a file store. The accompanying record contains the file description. After receiving the message, the file store begins requesting the first chunks.

{
    "id": "b88cdb0c-fb4f-4910-9bdd-c1b18257c5bd",
    "name": "FILE_STORE_STORE_FILE",
    "description": "Store a file into a network file store.",
    "isNanoService": "false",
    "type": "REQUEST",
    "slots": [
        {
            "key": "1",
            "name": "FILE",
            "direction": "REQUEST",
            "presenceConstraint": "MANDATORY",
            "type": "RECORD",
            "description": "A single file record. Type: CRecordFileStoreFile."
        }
    ]
}

Slot Description

Key Name Direction Presence Constraint Type Description
1 FILE REQUEST MANDATORY RECORD The CRecordFileStoreFile record contains the description of the file to be stored in the FileStore.

Record Usage

In nyssr.net, we typically don't exchange interfaces between projects. Instead, we use platform-independent Records to describe message formats.

One or more descriptions of these Records are stored in the JSON or XML format as record.json or record.xml within a directory. The Record Generator, an included Swing tool, generates helper classes from these files. These classes can then be used to type-safely write or read messages.

See also