pl.mn.communicator.packet.out
Class GGSendMsg

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

public class GGSendMsg
extends java.lang.Object
implements GGOutgoingPackage, GGMessageClass

Class representing packet that will send Gadu-Gadu message.

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

Field Summary
static int GG_SEND_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
GGSendMsg(IOutgoingMessage outgoingMessage)
           
 
Method Summary
 void addAdditionalRecipient(int uin)
           
 byte[] getContents()
           
 int getLength()
           
 int getPacketType()
          Returns Gadu-Gadu packet type.
 void removeAdditionalRecipient(int uin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GG_SEND_MSG

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

GGSendMsg

public GGSendMsg(IOutgoingMessage outgoingMessage)
Method Detail

addAdditionalRecipient

public void addAdditionalRecipient(int uin)

removeAdditionalRecipient

public void removeAdditionalRecipient(int uin)

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.