Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.msn
Class AdHocChatRoomInvitationMsnImpl

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

public class AdHocChatRoomInvitationMsnImpl
extends Object
implements AdHocChatRoomInvitation

The MSN implementation of the AdHocChatRoomInvitation interface.

Author:
Rupert Burchardi, Yana Stamcheva

Constructor Summary
AdHocChatRoomInvitationMsnImpl(AdHocChatRoom targetChatRoom, String inviter)
          Creates an instance of the AdHocChatRoomInvitationMsnImpl by specifying the targetChatRoom, the inviter, the reason and the password.
 
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

AdHocChatRoomInvitationMsnImpl

public AdHocChatRoomInvitationMsnImpl(AdHocChatRoom targetChatRoom,
                                      String inviter)
Creates an instance of the AdHocChatRoomInvitationMsnImpl by specifying the targetChatRoom, the inviter, the reason and the password.

Parameters:
targetChatRoom - the AdHocChatRoom for which the invitation is
inviter - the contact, which sent the invitation
Method Detail

getTargetAdHocChatRoom

public AdHocChatRoom getTargetAdHocChatRoom()
Returns the corresponding chat room.

Specified by:
getTargetAdHocChatRoom in interface AdHocChatRoomInvitation
Returns:
The 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

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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