
#include <ckio.h>

Public Member Functions | |
| File (int token_) | |
| File () | |
| void | pup (PUP::er &p) |
Private Attributes | |
| int | token |
Friends | |
| class | FileReadyMsg |
| void | startSession (File file, size_t bytes, size_t offset, CkCallback ready, CkCallback complete) |
| Prepare to write data into the file described by token, in the window defined by the offset and byte length. | |
| void | startSession (File file, size_t bytes, size_t offset, CkCallback ready, const char *commitData, size_t commitBytes, size_t commitOffset, CkCallback complete) |
| Prepare to write data into. | |
| void | close (File file, CkCallback closed) |
| Close a previously-opened file. | |
Definition at line 74 of file ckio.h.
| void Ck::IO::File::pup | ( | PUP::er & | p | ) | [inline] |
friend class FileReadyMsg [friend] |
| void startSession | ( | File | file, | |
| size_t | bytes, | |||
| size_t | offset, | |||
| CkCallback | ready, | |||
| CkCallback | complete | |||
| ) | [friend] |
Prepare to write data into the file described by token, in the window defined by the offset and byte length.
When the session is set up, a SessionReadyMsg will be sent to the ready callback. When all of the data has been written and synced, a message will be sent to the complete callback.
| void startSession | ( | File | file, | |
| size_t | bytes, | |||
| size_t | offset, | |||
| CkCallback | ready, | |||
| const char * | commitData, | |||
| size_t | commitBytes, | |||
| size_t | commitOffset, | |||
| CkCallback | complete | |||
| ) | [friend] |
Prepare to write data into.
| void close | ( | File | file, | |
| CkCallback | closed | |||
| ) | [friend] |
int Ck::IO::File::token [private] |
Definition at line 75 of file ckio.h.
Referenced by Ck::IO::close(), pup(), and Ck::IO::startSession().
1.5.5