pl.mn.communicator.packet.in
Class GGWelcome

java.lang.Object
  extended by pl.mn.communicator.packet.in.GGWelcome
All Implemented Interfaces:
GGPacket, GGIncomingPackage

public class GGWelcome
extends java.lang.Object
implements GGIncomingPackage

The packet is retrieved from the Gadu-Gadu server just after we connect to it. The class parses package and gets seed from server.

Version:
$Id: GGWelcome.java,v 1.1 2005/11/05 23:34:52 winnetou25 Exp $
Author:
Marcin Naglik, Mateusz Szczap

Field Summary
static int GG_PACKAGE_WELCOME
           
 
Constructor Summary
GGWelcome(byte[] data)
           
 
Method Summary
 int getPacketType()
          Returns Gadu-Gadu packet type.
 int getSeed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GG_PACKAGE_WELCOME

public static final int GG_PACKAGE_WELCOME
See Also:
Constant Field Values
Constructor Detail

GGWelcome

public GGWelcome(byte[] data)
Method Detail

getPacketType

public int getPacketType()
Description copied from interface: GGPacket
Returns Gadu-Gadu packet type.

Specified by:
getPacketType in interface GGPacket
Returns:
constant specyfing Gadu-Gadu packet type.
See Also:
GGPacket.getPacketType()

getSeed

public int getSeed()


Copyright 2004-2004-2005 SourceForge.net. All Rights Reserved.