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

net.java.sip.communicator.service.protocol.event
Class AdHocChatRoomInvitationReceivedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.java.sip.communicator.service.protocol.event.AdHocChatRoomInvitationReceivedEvent
All Implemented Interfaces:
Serializable

public class AdHocChatRoomInvitationReceivedEvent
extends EventObject

AdHocChatRoomInvitationReceivedEvents indicate reception of an invitation to join an ad-hoc chat room.

Author:
Valentin Martinet
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AdHocChatRoomInvitationReceivedEvent(OperationSetAdHocMultiUserChat adHocMultiUserChatOpSet, AdHocChatRoomInvitation invitation, Date timestamp)
          Creates an InvitationReceivedEvent representing reception of the source invitation received from the specified from ad-hoc chat room participant.
 
Method Summary
 AdHocChatRoomInvitation getInvitation()
          Returns the AdHocChatRoomInvitation that this event is for.
 OperationSetAdHocMultiUserChat getSourceOperationSet()
          Returns the ad-hoc multi user chat operation set that dispatches this event.
 Date getTimestamp()
          A timestamp indicating the exact date when the event ocurred.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdHocChatRoomInvitationReceivedEvent

public AdHocChatRoomInvitationReceivedEvent(OperationSetAdHocMultiUserChat adHocMultiUserChatOpSet,
                                            AdHocChatRoomInvitation invitation,
                                            Date timestamp)
Creates an InvitationReceivedEvent representing reception of the source invitation received from the specified from ad-hoc chat room participant.

Parameters:
adHocMultiUserChatOpSet - the OperationSetAdHocMultiUserChat, which dispatches this event
invitation - the AdHocChatRoomInvitation that this event is for
timestamp - the exact date when the event occurred.
Method Detail

getSourceOperationSet

public OperationSetAdHocMultiUserChat getSourceOperationSet()
Returns the ad-hoc multi user chat operation set that dispatches this event.

Returns:
the ad-hoc multi user chat operation set that dispatches this event.

getInvitation

public AdHocChatRoomInvitation getInvitation()
Returns the AdHocChatRoomInvitation that this event is for.

Returns:
the AdHocChatRoomInvitation that this event is for.

getTimestamp

public Date getTimestamp()
A timestamp indicating the exact date when the event ocurred.

Returns:
a Date indicating when the event ocurred.

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

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