Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class AdHocChatRoomCreatedEvent
extends Object

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

Author:
Valentin Martinet

Constructor Summary
AdHocChatRoomCreatedEvent(AdHocChatRoom adHocChatRoom, Contact by)
          Initializes an AdHocChatRoomCreatedEvent with the creator ( by) and the ad-hoc room adHocChatRoom.
 
Method Summary
 AdHocChatRoom getAdHocCreatedRoom()
          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

AdHocChatRoomCreatedEvent

public AdHocChatRoomCreatedEvent(AdHocChatRoom adHocChatRoom,
                                 Contact by)
Initializes an AdHocChatRoomCreatedEvent 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

getAdHocCreatedRoom

public AdHocChatRoom getAdHocCreatedRoom()
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.