Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

GTaskPacket


Data Structures

struct  _GTaskPacket
struct  _GTaskPacketClass
struct  _GTaskPacketPrivate

Defines

#define GTASK_PACKET_TYPE   (gtask_packet_get_type())
#define GTASK_PACKET(obj)
#define GTASK_PACKET_CLASS(klass)
#define GTASK_IS_PACKET(obj)
#define GTASK_IS_PACKET_CLASS(klass)
#define GTASK_PACKET_GET_CLASS(obj)

Typedefs

typedef _GTaskPacket GTaskPacket
typedef _GTaskPacketPrivate GTaskPacketPrivate
typedef _GTaskPacketClass GTaskPacketClass

Functions

void gtask_packet_init (GTaskPacket *packet, gpointer g_class)
void gtask_packet_class_init (GTaskPacketClass *klass)
void gtask_packet_dispose (GObject *packet)
void gtask_packet_finalize (GObject *packet)
GType gtask_packet_get_type ()
gboolean gtask_packet_serialize (GTaskPacket *packet)
 prints out the packet over the default connection

gboolean gtask_packet_serialize_to (GTaskPacket *packet, GTaskConnection *conn)
 prints out the packet over the passed in connection

GTaskConnectionGroup * gtask_packet_get_connection_group (GTaskPacket *packet)
 returns the default connection that the GTaskPacket will serialize to

void gtask_packet_set_connection_group (GTaskPacket *packet, GTaskConnectionGroup *conn_group)
 sets the default connection that the GTaskPacket will serialize to


Variables

gpointer parent_class

Define Documentation

#define GTASK_IS_PACKET (  obj   ) 
 

Value:

(G_TYPE_CHECK_INSTANCE_TYPE( (obj), \
                                      GTASK_PACKET_TYPE ))
returns TRUE if the passed in object is a GTaskPacket, FALSE otherwise

Definition at line 33 of file gtask-packet.h.

#define GTASK_IS_PACKET_CLASS (  klass   ) 
 

Value:

(G_TYPE_CHECK_CLASS_TYPE( (klass), \
                                      GTASK_PACKET_TYPE ))
returns TRUE if the passed in object is a GTaskPacketClass, FALSE otherwise

Definition at line 40 of file gtask-packet.h.

#define GTASK_PACKET (  obj   ) 
 

Value:

(G_TYPE_CHECK_INSTANCE_CAST( (obj), \
                                      GTASK_PACKET_TYPE, \
                                      GTaskPacket ))
casts the passed in object to a GTaskPacket

Definition at line 20 of file gtask-packet.h.

#define GTASK_PACKET_CLASS (  klass   ) 
 

Value:

(G_TYPE_CHECK_CLASS_CAST( (klass), \
                                      GTASK_PACKET_TYPE, \
                                      GTaskPacketClass ))
casts the passed in object to a GTaskPacketClass

Definition at line 25 of file gtask-packet.h.

#define GTASK_PACKET_GET_CLASS (  obj   ) 
 

Value:

(G_TYPE_INSTANCE_GET_CLASS( (obj), \
                                      GTASK_PACKET_TYPE, \
                                      GTaskPacketClass ))

Definition at line 43 of file gtask-packet.h.

#define GTASK_PACKET_TYPE   (gtask_packet_get_type())
 

returns the GType of GTaskPacket

Definition at line 17 of file gtask-packet.h.


Typedef Documentation

typedef struct _GTaskPacket GTaskPacket
 

Definition at line 12 of file gtask-packet.h.

typedef struct _GTaskPacketClass GTaskPacketClass
 

Definition at line 14 of file gtask-packet.h.

typedef struct _GTaskPacketPrivate GTaskPacketPrivate
 

Definition at line 13 of file gtask-packet.h.


Function Documentation

void gtask_packet_class_init (  GTaskPacketClass *  klass  )  [static]
 

Definition at line 54 of file gtask-packet.c.

void gtask_packet_dispose (  GObject *  packet  )  [static]
 

Definition at line 66 of file gtask-packet.c.

void gtask_packet_finalize (  GObject *  packet  )  [static]
 

Definition at line 83 of file gtask-packet.c.

GTaskConnectionGroup * gtask_packet_get_connection_group (  GTaskPacket *  packet  ) 
 

returns the default connection that the GTaskPacket will serialize to

Attention:
This function does not add any additional references to the GTaskConnectionGroup that is returned.
Author:
Michael Henson
Parameters:
packet a GTaskPacket
Returns:
the GTaskConnection

Definition at line 159 of file gtask-packet.c.

GType gtask_packet_get_type (  void   ) 
 

Definition at line 21 of file gtask-packet.c.

void gtask_packet_init (  GTaskPacket *  packet,
gpointer  g_class
)  [static]
 

Definition at line 47 of file gtask-packet.c.

gboolean gtask_packet_serialize (  GTaskPacket *  packet  ) 
 

prints out the packet over the default connection

Author:
Michael Henson
Parameters:
packet a GTaskPacket
Returns:
the success/failure of the operation (ie any connection in the group failed)

Definition at line 103 of file gtask-packet.c.

gboolean gtask_packet_serialize_to (  GTaskPacket *  packet,
GTaskConnection *  conn
) 
 

prints out the packet over the passed in connection

Author:
Michael Henson
Parameters:
packet a GTaskPacket
conn a GTaskConnection
Returns:
the success/failure of the operation

Definition at line 133 of file gtask-packet.c.

void gtask_packet_set_connection_group (  GTaskPacket *  packet,
GTaskConnectionGroup *  conn_group
) 
 

sets the default connection that the GTaskPacket will serialize to

Attention:
This function will increase the reference count of the passed in GTaskConnectionGroup
Author:
Michael Henson
Parameters:
packet a GTaskPacket
conn a GTaskConnection

Definition at line 178 of file gtask-packet.c.


Variable Documentation

gpointer parent_class [static]
 

Definition at line 7 of file gtask-packet.c.


Generated on Mon Feb 2 21:26:17 2004 for libgtask by doxygen 1.3.4