Get File Primitive

Get File Primitive

The messages are defined in BitRepositoryMessages.xsd and the format of the messages are defined in BitRepositoryElements.xsd .

See also Message exchange protocol

GetFileRequest

The request is directed to one pillar and contains one file ID (again may be extended to more file IDs; list, pattern or address) such that the pillar know what data is requested. The request contains one Data Token where the requested data is to be uploaded to (may be extended to match more file IDs).

The request also contains a 'replyTo', which is the ID of the queue where any reply can be send to.

GetFileResponse and GetFileComplete

The reply messages are not required, but nice to have messages.

The reply contains a file ID. The reply can contain (updated) information on response time.

If the pillar is not able to deliver the requested file after all, it can also send a negative reply with an error code.

Reply messages also contains file ID.

NOTE: That if a checksum pillar receives a GetFileRequest message, it must fail, since it can only give a checksum.