![]() |
![]() |
![]() |
gebr-comm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
#define GEBR_COMM_SOCKET_TYPE GebrCommSocket; GebrCommSocketClass; void gebr_comm_socket_close (GebrCommSocket *Param1
); void gebr_comm_socket_flush (GebrCommSocket *Param1
); void gebr_comm_socket_set_blocking (GebrCommSocket *Param1
,gboolean Param2
); enum GebrCommSocketState gebr_comm_socket_get_state (GebrCommSocket *Param1
); enum GebrCommSocketError gebr_comm_socket_get_last_error (GebrCommSocket *Param1
); GebrCommSocketAddress gebr_comm_socket_get_address (GebrCommSocket *Param1
); gulong gebr_comm_socket_bytes_available (GebrCommSocket *Param1
); gulong gebr_comm_socket_bytes_to_write (GebrCommSocket *Param1
); GByteArray * gebr_comm_socket_read (GebrCommSocket *Param1
,gsize Param2
); GString * gebr_comm_socket_read_string (GebrCommSocket *Param1
,gsize Param2
); GByteArray * gebr_comm_socket_read_all (GebrCommSocket *Param1
); GString * gebr_comm_socket_read_string_all (GebrCommSocket *Param1
); void gebr_comm_socket_write (GebrCommSocket *Param1
,GByteArray *Param2
); void gebr_comm_socket_write_string (GebrCommSocket *Param1
,GString *Param2
); void gebr_comm_socket_write_immediately (GebrCommSocket *Param1
,GByteArray *Param2
); void gebr_comm_socket_write_string_immediately (GebrCommSocket *Param1
,GString *Param2
);
GObject +----GebrCommSocket +----GebrCommChannelSocket +----GebrCommListenSocket +----GebrCommStreamSocket
"error" : Run Last / Action "ready-read" : Run Last / Action "ready-write" : Run Last / Action
typedef struct { GObjectClass parent; /* virtual */ void (*connected) (GebrCommSocket * self); void (*disconnected) (GebrCommSocket * self); void (*new_connection) (GebrCommSocket * self); /* signals */ void (*ready_read) (GebrCommSocket * self); void (*ready_write) (GebrCommSocket * self); void (*error) (GebrCommSocket * self, enum GebrCommSocketError error); } GebrCommSocketClass;
void gebr_comm_socket_set_blocking (GebrCommSocket *Param1
,gboolean Param2
);
enum GebrCommSocketState gebr_comm_socket_get_state (GebrCommSocket *Param1
);
enum GebrCommSocketError gebr_comm_socket_get_last_error
(GebrCommSocket *Param1
);
GebrCommSocketAddress gebr_comm_socket_get_address (GebrCommSocket *Param1
);
gulong gebr_comm_socket_bytes_available (GebrCommSocket *Param1
);
GString * gebr_comm_socket_read_string (GebrCommSocket *Param1
,gsize Param2
);
GString * gebr_comm_socket_read_string_all (GebrCommSocket *Param1
);
void gebr_comm_socket_write_string (GebrCommSocket *Param1
,GString *Param2
);
void gebr_comm_socket_write_immediately (GebrCommSocket *Param1
,GByteArray *Param2
);
void gebr_comm_socket_write_string_immediately (GebrCommSocket *Param1
,GString *Param2
);
"error"
signalvoid user_function (GebrCommSocket *gebrcommsocket, gint arg1, gpointer user_data) : Run Last / Action
"ready-read"
signalvoid user_function (GebrCommSocket *gebrcommsocket, gpointer user_data) : Run Last / Action
"ready-write"
signalvoid user_function (GebrCommSocket *gebrcommsocket, gpointer user_data) : Run Last / Action