#include <gobjconfig.h>
#include <gobj/context.h>
#include <gobj/id.h>
#include <gobj/stream.h>
Functions | |
Gj_CommParam* | Gj_commparam_new () |
Create a new communication parameter structure. | |
void | Gj_commparam_delete (Gj_CommParam* param) |
@biref Delete a communication parameter structure. | |
Gj_Comm* | Gj_comm_new (Gj_Ctx* ctx, Gj_Id* iface, char* address, Gj_CommParam* param) |
Create a new communication structure. More... | |
Gj_Comm* | Gj_comm_newFromStream (Gj_Ctx* ctx, Gj_Stream* stream, Gj_CommParam* param) |
Create a new communication structure (server-side) from a stream. More... | |
int | Gj_comm_delete (Gj_Ctx* ctx, Gj_Comm* comm) |
Delete a communication structure. More... | |
int | Gj_comm_processCommand (Gj_Ctx* ctx, Gj_Comm* comm, Gj_Bool* abort) |
Wait for a command and process it. More... | |
int | Gj_comm_end (Gj_Ctx* ctx, Gj_Comm* comm) |
End a communication. More... | |
int | gj_comm_end_serve (Gj_Ctx* ctx, Gj_Comm* comm) |
Serve an 'Gj_comm_end' command. More... | |
int | Gj_comm_getSysid (Gj_Ctx* ctx, Gj_Comm* comm, Gj_Sysid* sysid) |
Get the sysid of the remote system. More... | |
int | gj_comm_getSysid_serve (Gj_Ctx* ctx, Gj_Comm* comm) |
Serve an 'Gj_comm_getSysid' command. More... |
|
Create a new communication structure.
If
|
|
Create a new communication structure (server-side) from a stream.
The possession of the
|
|
Delete a communication structure.
|
|
Wait for a command and process it.
|
|
End a communication.
|
|
Serve an 'Gj_comm_end' command.
For internal use only. |
|
Get the sysid of the remote system.
|
|
Serve an 'Gj_comm_getSysid' command.
For internal use only. |