pl.mn.communicator
Class GroupChat

java.lang.Object
  extended by pl.mn.communicator.AbstractChat
      extended by pl.mn.communicator.GroupChat
All Implemented Interfaces:
IChat, IGroupChat

public class GroupChat
extends AbstractChat
implements IGroupChat

Created on 2005-01-29

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

Field Summary
 
Fields inherited from class pl.mn.communicator.AbstractChat
m_listeners, m_session
 
Constructor Summary
GroupChat(Session session)
           
GroupChat(Session session, int[] recipientUins)
           
 
Method Summary
protected  boolean acceptsIncoming(IIncommingMessage incomingMessage)
           
protected  boolean acceptsOutgoing(int uin, int messageID, MessageStatus deliveryStatus)
           
 void addRecipient(int recipientUin)
           
 int[] getRecipientUins()
           
 void removeRecipient(int recipientUin)
           
 IChat sendMessage(java.lang.String messageBody)
           
 
Methods inherited from class pl.mn.communicator.AbstractChat
addChatListener, fireChatMessageArrived, fireChatMessageDelivered, removeChatListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface pl.mn.communicator.IChat
addChatListener, removeChatListener
 

Constructor Detail

GroupChat

GroupChat(Session session)

GroupChat

GroupChat(Session session,
          int[] recipientUins)
Method Detail

sendMessage

public IChat sendMessage(java.lang.String messageBody)
                  throws GGException
Specified by:
sendMessage in interface IChat
Throws:
GGException

addRecipient

public void addRecipient(int recipientUin)
Specified by:
addRecipient in interface IGroupChat

removeRecipient

public void removeRecipient(int recipientUin)
Specified by:
removeRecipient in interface IGroupChat

getRecipientUins

public int[] getRecipientUins()
Specified by:
getRecipientUins in interface IGroupChat

acceptsIncoming

protected boolean acceptsIncoming(IIncommingMessage incomingMessage)
Specified by:
acceptsIncoming in class AbstractChat
See Also:
pl.mn.communicator.AbstractChat#acceptsIncoming(pl.mn.communicator.IncomingMessage)

acceptsOutgoing

protected boolean acceptsOutgoing(int uin,
                                  int messageID,
                                  MessageStatus deliveryStatus)
Specified by:
acceptsOutgoing in class AbstractChat
See Also:
AbstractChat.acceptsOutgoing(int, int, pl.mn.communicator.MessageStatus)


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