Galena :: xfirelib

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

XFireGateway





User

You are currently not logged in.
Login
Register


0 logged in users.
21 active guests.


Project: xfirelib

Home
Board

loginfailedpacket.h

Go to the documentation of this file.
00001 /*
00002  *  xfirelib - C++ Library for the xfire protocol.
00003  *  Copyright (C) 2006 by
00004  *          Beat Wolf <asraniel@fryx.ch> / http://gfire.sf.net
00005  *          Herbert Poul <herbert.poul@gmail.com> / http://goim.us
00006  *    http://xfirelib.sphene.net
00007  *
00008  *  This program is free software; you can redistribute it and/or modify
00009  *  it under the terms of the GNU General Public License as published by
00010  *  the Free Software Foundation; either version 2 of the License, or
00011  *  (at your option) any later version.
00012  *
00013  *  This program is distributed in the hope that it will be useful,
00014  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  *  GNU General Public License for more details.
00017  *
00018  *  You should have received a copy of the GNU General Public License
00019  *  along with this program; if not, write to the Free Software
00020  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
00021  */
00022 
00023 #ifndef __LOGINFAILEDPACKET_H
00024 #define __LOGINFAILEDPACKET_H
00025 
00026 #include "xfirerecvpacketcontent.h"
00027 #include "variablevalue.h"
00028 
00029 #define XFIRE_LOGIN_FAILED_ID 129
00030 
00031 namespace xfirelib {
00032 
00033   class LoginFailedPacket : public XFireRecvPacketContent {
00034   public:
00035     XFirePacketContent* newPacket() { return new LoginFailedPacket(); }
00036 
00037 
00038     int getPacketId() { return XFIRE_LOGIN_FAILED_ID; }
00039     int getPacketContent(char *buf) { return 0; }
00040     int getPacketAttributeCount() { return 0; };
00041     int getPacketSize() { return 1024; };
00042     void parseContent(char *buf, int length, int numberOfAtts);
00043   };
00044 };
00045 
00046 
00047 #endif

Powered by Galena
This page is powered by Galena. - Get your own free "CMS" (Wiki, Board, Todolist/Buglist-Tracker)
Author of Galena: Herbert Poul - kahless+galena@sphene.net - jabber id: kahless@sphene.net - icq uin: 50647169
Page generated in 17 millisecs