SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.yahoo
Class AdHocChatRoomInvitationYahooImpl

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.yahoo.AdHocChatRoomInvitationYahooImpl
All Implemented Interfaces:
AdHocChatRoomInvitation

public class AdHocChatRoomInvitationYahooImpl
extends Object
implements AdHocChatRoomInvitation

The Yahoo implementation of the AdHocChatRoomInvitation interface.

Author:
Rupert Burchardi, Valentin Martinet

Constructor Summary
AdHocChatRoomInvitationYahooImpl(AdHocChatRoom targetChatRoom, String inviter, String reason)
          Creates an instance of the ChatRoomInvitationMsnImpl by specifying the targetChatRoom, the inviter, the reason.
 
Method Summary
 String getInviter()
          Returns the corresponding inviter.
 String getReason()
          Returns the invitation reason.
 AdHocChatRoom getTargetAdHocChatRoom()
          Returns the corresponding chat room.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdHocChatRoomInvitationYahooImpl

public AdHocChatRoomInvitationYahooImpl(AdHocChatRoom targetChatRoom,
                                        String inviter,
                                        String reason)
Creates an instance of the ChatRoomInvitationMsnImpl by specifying the targetChatRoom, the inviter, the reason.

Parameters:
targetChatRoom - The AdHocChatRoom for which the invitation is
inviter - The Contact, which sent the invitation
reason - The Reason for the invitation
Method Detail

getTargetAdHocChatRoom

public AdHocChatRoom getTargetAdHocChatRoom()
Returns the corresponding chat room.

Specified by:
getTargetAdHocChatRoom in interface AdHocChatRoomInvitation
Returns:
The ad-hoc chat room

getInviter

public String getInviter()
Returns the corresponding inviter.

Specified by:
getInviter in interface AdHocChatRoomInvitation
Returns:
The name of the inviter

getReason

public String getReason()
Returns the invitation reason.

Specified by:
getReason in interface AdHocChatRoomInvitation
Returns:
the invitation reason

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.