diff options
author | Timo Dritschler <timo.dritschler@kit.edu> | 2014-12-10 16:23:49 +0100 |
---|---|---|
committer | Timo Dritschler <timo.dritschler@kit.edu> | 2014-12-10 16:23:49 +0100 |
commit | 8d50558755b93f26108313e40e92a8ae457864ab (patch) | |
tree | 7190a92e2bc2f13e3b20fc85caea10f349cfee37 /src/kiro-client.h | |
parent | 9f0b6da7cf20f085d2729e5433f85ffa60a6fd94 (diff) | |
parent | 0dc8c19937b52dfb793672226183697b6987b9fe (diff) | |
download | kiro-8d50558755b93f26108313e40e92a8ae457864ab.tar.gz kiro-8d50558755b93f26108313e40e92a8ae457864ab.tar.bz2 kiro-8d50558755b93f26108313e40e92a8ae457864ab.tar.xz kiro-8d50558755b93f26108313e40e92a8ae457864ab.zip |
Merge pull request #14 from ufo-kit/communicationHandling
Release Version 2 (0.2.0)
Added kiro_client_ping_server to KIRO client
Diffstat (limited to 'src/kiro-client.h')
-rw-r--r-- | src/kiro-client.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/kiro-client.h b/src/kiro-client.h index 9c6036d..3be2621 100644 --- a/src/kiro-client.h +++ b/src/kiro-client.h @@ -160,6 +160,19 @@ void kiro_client_disconnect (KiroClient *client); int kiro_client_sync (KiroClient *client); /** + * kiro_client_ping_server - Sends a PING to the server + * @client: (transfer none): The #KiroServer to send the PING from + * Returns: + * A #guint telling the time (in microseconds) how long it took for the + * connected #KiroServer to reply + * Description: + * Sends a PING package to the connected #KiroServer and waits for a PONG + * package from that server. The time between sending the PING and receiving + * the PONG (in microseconds) is measured and returned by this function. + */ +gint kiro_client_ping_server (KiroClient *client); + +/** * kiro_client_get_memory - Return a pointer to the current client memory * @client: (transfer none): The #KiroClient to get the memory from * Returns: (transfer none): |