Public Methods |
| CAVERNnet_remoteParallelFileIOClient32_c () |
void | setRemotePort (int port=CAVERNnet_remoteParallelFileIOServer32_c::DEFAULT_PORT) |
| Set port number to connect to.
|
int | upload (char *ipAddress, char *localFileName, char *remoteFileName, int numberOfSockets=5) |
int | download (char *ipAddress, char *localFilename, char *remoteFileName, int numberOfSockets=5) |
int | getRemoteDateTime (char *ipAddress, char *remoteFileName, int *remDay, int *remMon, int *remYear, int *remHour, int *remMin, int *remSec, int numberOfSockets=1) |
int | compareDateTime (int day1, int month1, int year1, int hour1, int minute1, int second1, int day2, int month2, int year2, int hour2, int minute2, int second2) |
void | showStats (char *streamInfo, char *comment) |
int | logStats (char *streamInfo, char *comment, FILE *filePtr) |
int | sendStats (char *streamInfo, char *comment) |
int | initSendStats (char *monitorClientIP, int port=PERF_DAEMON_DEFAULT_PORT) |
void | exitSendStats () |
Static Public Methods |
int | getLocalDateTime (char *filename, int *day, int *month, int *year, int *hour, int *minute, int *second) |
Static Public Attributes |
|
const int | OK |
| Status ok.
|
const int | FAILED |
| Status failed.
|
const int | CANNOT_CONNECT |
| Cannot connect to remote server.
|
const int | CANNOT_READ_LOCAL_FILE |
| Cannot open local file for reading.
|
const int | CANNOT_WRITE_LOCAL_FILE |
| CAnnot write to local file.
|
const int | INVALID_COMMAND |
| Received invalid command from server.
|
const int | MEM_ALLOC_ERR |
| Memory allocation error.
|
const int | FILE_ERROR |
| Remote file error.
|
const int | EARLIER |
| Earlier date/time.
|
const int | LATER |
| Later date/time.
|
const int | SAME |
| Same date/time.
|
Private Attributes |
int | remotePort |
CAVERNnet_extendedParallelTcpClient_c | client |
CAVERNnet_perfMonitor_c | pmonitor |