Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

java.lang.Object
  extended by net.java.sip.communicator.service.protocol.event.AdHocChatRoomDestroyedEvent

public class AdHocChatRoomDestroyedEvent
extends Object

The event that occurs when an ad-hoc chat room has been created.

Author:
Valentin Martinet

Constructor Summary
AdHocChatRoomDestroyedEvent(AdHocChatRoom adHocChatRoom, Contact by)
          Initializes an AdHocChatRoomDestroyedEvent with the creator ( by) and the ad-hoc room adHocChatRoom.
 
Method Summary
 AdHocChatRoom getAdHocDestroyedRoom()
          Returns the ad-hoc room concerned by this event.
 Contact getBy()
          Returns the Contact who created the room.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdHocChatRoomDestroyedEvent

public AdHocChatRoomDestroyedEvent(AdHocChatRoom adHocChatRoom,
                                   Contact by)
Initializes an AdHocChatRoomDestroyedEvent with the creator ( by) and the ad-hoc room adHocChatRoom.

Parameters:
adHocChatRoom - the AdHocChatRoom
by - the Contact who created this ad-hoc room
Method Detail

getBy

public Contact getBy()
Returns the Contact who created the room.

Returns:
Contact

getAdHocDestroyedRoom

public AdHocChatRoom getAdHocDestroyedRoom()
Returns the ad-hoc room concerned by this event.

Returns:
AdHocChatRoom

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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