pl.mn.communicator.packet.out
Class GGNewStatus

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

public class GGNewStatus
extends java.lang.Object
implements GGOutgoingPackage, GGStatuses

Packet that sets new status of the Gadu-Gadu user.

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

Field Summary
static int GG_NEW_STATUS
           
 
Fields inherited from interface pl.mn.communicator.packet.GGStatuses
GG_STATUS_AVAIL, GG_STATUS_AVAIL_DESCR, GG_STATUS_BLOCKED, GG_STATUS_BUSY, GG_STATUS_BUSY_DESCR, GG_STATUS_FRIENDS_MASK, GG_STATUS_INVISIBLE, GG_STATUS_INVISIBLE_DESCR, GG_STATUS_NOT_AVAIL, GG_STATUS_NOT_AVAIL_DESCR, GG_STATUS_UNKNOWN
 
Constructor Summary
GGNewStatus(ILocalStatus localStatus)
          The protocol status constructor.
 
Method Summary
 byte[] getContents()
           
 int getLength()
           
 int getPacketType()
          Returns Gadu-Gadu packet type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GG_NEW_STATUS

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

GGNewStatus

public GGNewStatus(ILocalStatus localStatus)
The protocol status constructor.

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

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.