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

net.java.sip.communicator.service.protocol
Interface AdHocChatRoomInvitation

All Known Implementing Classes:
AdHocChatRoomInvitationIcqImpl, AdHocChatRoomInvitationMsnImpl, AdHocChatRoomInvitationYahooImpl

public interface AdHocChatRoomInvitation

This interface represents an invitation, which is send from an ad-hoc chat room participant to another user in order to invite this user to join the ad-hoc chat room.

Author:
Valentin Martinet

Method Summary
 String getInviter()
          Returns the Contact that sent this invitation.
 String getReason()
          Returns the reason of this invitation, or null if there is no reason.
 AdHocChatRoom getTargetAdHocChatRoom()
          Returns the AdHocChatRoom, which is the target of this invitation.
 

Method Detail

getTargetAdHocChatRoom

AdHocChatRoom getTargetAdHocChatRoom()
Returns the AdHocChatRoom, which is the target of this invitation. The ad-hoc chat room returned by this method will be the room to which the user is invited to join to.

Returns:
the AdHocChatRoom, which is the target of this invitation

getInviter

String getInviter()
Returns the Contact that sent this invitation.

Returns:
the Contact that sent this invitation.

getReason

String getReason()
Returns the reason of this invitation, or null if there is no reason.

Returns:
the reason of this invitation, or null if there is no 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.