pl.mn.communicator.packet.out
Class GGPing

java.lang.Object
  extended by pl.mn.communicator.packet.out.GGPing
All Implemented Interfaces:
GGPacket, GGOutgoingPackage

public final class GGPing
extends java.lang.Object
implements GGOutgoingPackage

Outgoing packet, ping type that is from time to time being send to Gadu-Gadu server.

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

Field Summary
static int GG_PING
           
 
Method Summary
 byte[] getContents()
           
 int getLength()
           
 int getPacketType()
          Returns Gadu-Gadu packet type.
static GGPing getPing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GG_PING

public static final int GG_PING
See Also:
Constant Field Values
Method Detail

getPing

public static GGPing getPing()

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()

getLength

public int getLength()
Specified by:
getLength in interface GGOutgoingPackage
See Also:
GGOutgoingPackage.getLength()

getContents

public byte[] getContents()
Specified by:
getContents in interface GGOutgoingPackage
See Also:
GGOutgoingPackage.getContents()


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