Details
GEBR_COMM_SOCKET_TYPE
#define GEBR_COMM_SOCKET_TYPE (gebr_comm_socket_get_type())
struct GebrCommSocket
struct GebrCommSocket;
struct GebrCommSocketClass
struct GebrCommSocketClass {
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);
};
gebr_comm_socket_close ()
void gebr_comm_socket_close (GebrCommSocket *Param1
);
gebr_comm_socket_flush ()
void gebr_comm_socket_flush (GebrCommSocket *Param1
);
gebr_comm_socket_set_blocking ()
void gebr_comm_socket_set_blocking (GebrCommSocket *Param1
,
gboolean Param2
);
gebr_comm_socket_get_state ()
enum GebrCommSocketState gebr_comm_socket_get_state (GebrCommSocket *Param1
);
gebr_comm_socket_get_last_error ()
enum GebrCommSocketError gebr_comm_socket_get_last_error
(GebrCommSocket *Param1
);
gebr_comm_socket_bytes_available ()
gulong gebr_comm_socket_bytes_available (GebrCommSocket *Param1
);
gebr_comm_socket_bytes_to_write ()
gulong gebr_comm_socket_bytes_to_write (GebrCommSocket *Param1
);
gebr_comm_socket_read ()
GByteArray * gebr_comm_socket_read (GebrCommSocket *Param1
,
gsize Param2
);
gebr_comm_socket_read_string ()
GString * gebr_comm_socket_read_string (GebrCommSocket *Param1
,
gsize Param2
);
gebr_comm_socket_read_all ()
GByteArray * gebr_comm_socket_read_all (GebrCommSocket *Param1
);
gebr_comm_socket_read_string_all ()
GString * gebr_comm_socket_read_string_all (GebrCommSocket *Param1
);
gebr_comm_socket_write ()
void gebr_comm_socket_write (GebrCommSocket *Param1
,
GByteArray *Param2
);
gebr_comm_socket_write_string ()
void gebr_comm_socket_write_string (GebrCommSocket *Param1
,
GString *Param2
);
gebr_comm_socket_write_immediately ()
void gebr_comm_socket_write_immediately (GebrCommSocket *Param1
,
GByteArray *Param2
);
gebr_comm_socket_write_string_immediately ()
void gebr_comm_socket_write_string_immediately
(GebrCommSocket *Param1
,
GString *Param2
);