Galena :: xfirelib

This is a static archive of the original page - xfirelib is no longer maintained.
Bug Tracker



You are currently not logged in.

0 logged in users.
21 active guests.

Project: xfirelib


xfirelib::XFirePacket Class Reference

#include <xfirepacket.h>

Collaboration diagram for xfirelib::XFirePacket:

Collaboration graph
List of all members.

Public Member Functions

 XFirePacket (PacketReader *reader)
 XFirePacket (XFirePacketContent *content)
 ~XFirePacket ()
int getSendBuffer (void *buf)
void recvPacket (Socket *socket)
void sendPacket (Socket *socket)
XFirePacketContentgetContent ()

Constructor & Destructor Documentation

xfirelib::XFirePacket::XFirePacket PacketReader reader  ) 

Definition at line 36 of file xfirepacket.cpp.

xfirelib::XFirePacket::XFirePacket XFirePacketContent content  ) 

Definition at line 40 of file xfirepacket.cpp.

xfirelib::XFirePacket::~XFirePacket  ) 

Definition at line 45 of file xfirepacket.cpp.

Member Function Documentation

XFirePacketContent* xfirelib::XFirePacket::getContent  )  [inline]

Definition at line 43 of file xfirepacket.h.

Referenced by xfirelib::BuddyList::receivedPacket(), and xfirelib::PacketReader::run().

int xfirelib::XFirePacket::getSendBuffer void *  buf  ) 

void xfirelib::XFirePacket::recvPacket Socket socket  ) 

Definition at line 49 of file xfirepacket.cpp.

References xfirelib::PacketReader::getPacketContentClass(), xfirelib::XFirePacketContent::newPacket(), xfirelib::XFirePacketContent::parseContent(), Socket::recv(), XDEBUG, and XERROR.

Referenced by xfirelib::PacketReader::run().

Here is the call graph for this function:

void xfirelib::XFirePacket::sendPacket Socket socket  ) 

Definition at line 80 of file xfirepacket.cpp.

References xfirelib::XFirePacketContent::getPacketAttributeCount(), xfirelib::XFirePacketContent::getPacketContent(), xfirelib::XFirePacketContent::getPacketId(), xfirelib::XFirePacketContent::getPacketSize(), and XDEBUG.

Referenced by xfirelib::Client::send().

Here is the call graph for this function:

The documentation for this class was generated from the following files:
Powered by Galena
This page is powered by Galena. - Get your own free "CMS" (Wiki, Board, Todolist/Buglist-Tracker)
Author of Galena: Herbert Poul - - jabber id: - icq uin: 50647169
Page generated in 17 millisecs