pl.mn.communicator.packet.in
Class GGSendMsgAck

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

public class GGSendMsgAck
extends java.lang.Object
implements GGIncomingPackage

Acknowledgment of successuly delivered message that is recieved from Gadu-Gadu server.

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

Field Summary
static int GG_ACK_BLOCKED
          Message has not been delivered.
static int GG_ACK_DELIVERED
          Message has been successfuly delivered.
static int GG_ACK_MBOXFULL
          Message has not been delivered because remote queue is full (max. 20 messages).
static int GG_ACK_NOT_DELIVERED
          Message has not been delivered.
static int GG_ACK_QUEUED
          Message has been queued for later delivery.
static int GG_SEND_MSG_ACK
           
 
Constructor Summary
GGSendMsgAck(byte[] data)
           
 
Method Summary
 int getMessageSeq()
           
 int getMessageStatus()
           
 int getPacketType()
          Returns Gadu-Gadu packet type.
 int getRecipientUin()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GG_SEND_MSG_ACK

public static final int GG_SEND_MSG_ACK
See Also:
Constant Field Values

GG_ACK_BLOCKED

public static final int GG_ACK_BLOCKED
Message has not been delivered.

See Also:
Constant Field Values

GG_ACK_DELIVERED

public static final int GG_ACK_DELIVERED
Message has been successfuly delivered.

See Also:
Constant Field Values

GG_ACK_QUEUED

public static final int GG_ACK_QUEUED
Message has been queued for later delivery.

See Also:
Constant Field Values

GG_ACK_MBOXFULL

public static final int GG_ACK_MBOXFULL
Message has not been delivered because remote queue is full (max. 20 messages).

See Also:
Constant Field Values

GG_ACK_NOT_DELIVERED

public static final int GG_ACK_NOT_DELIVERED
Message has not been delivered. This status is only in case of GG_CLASS_CTCP

See Also:
Constant Field Values
Constructor Detail

GGSendMsgAck

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

getMessageStatus

public int getMessageStatus()
Returns:
Status of the message. Available statuses are listed above.

getRecipientUin

public int getRecipientUin()
Returns:
Gadu-Gadu uin number of the person to whom message was sent.

getMessageSeq

public int getMessageSeq()
Returns:
Sequence number of the message that has been sent.


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