pl.mn.communicator.packet.in
Class GGRecvMsg

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

public class GGRecvMsg
extends java.lang.Object
implements GGIncomingPackage, GGMessageClass

Class representing Gadu-Gadu received message packet.

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

Field Summary
static int GG_RECV_MSG
           
 
Fields inherited from interface pl.mn.communicator.packet.GGMessageClass
GG_CLASS_ACK, GG_CLASS_CHAT, GG_CLASS_CTCP, GG_CLASS_MSG, GG_CLASS_QUEUED, GG_CLASS_QUEUED2, GG_CLASS_UNKNOWN
 
Constructor Summary
GGRecvMsg(byte[] data)
           
 
Method Summary
 java.lang.String getMessage()
          Returns the message.
 int getMessageSeq()
          Returns the unique message sequence number.
 int getMsgClass()
          Returns the msgClass.
 int getPacketType()
          Returns Gadu-Gadu packet type.
 int getSenderUin()
          Returns the sender uin number.
 long getTime()
          Time in seconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GG_RECV_MSG

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

GGRecvMsg

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

getMessage

public java.lang.String getMessage()
Returns the message.

Returns:
String

getMsgClass

public int getMsgClass()
Returns the msgClass.

Returns:
int msgClass

getSenderUin

public int getSenderUin()
Returns the sender uin number.

Returns:
int the sender uin.

getMessageSeq

public int getMessageSeq()
Returns the unique message sequence number.

Returns:
int message sequence number.

getTime

public long getTime()
Time in seconds.

Returns:
int the time in seconds.


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