com.zion.jbuddy.conference
Class ConferenceEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.zion.jbuddy.conference.ConferenceEvent
All Implemented Interfaces:
Serializable

public class ConferenceEvent
extends EventObject

Provides access to conference event properties. Instances of this class are passed to conference listener methods.

Property methods provide links to the listener methods which use them.

Since:
5.0, 6.3 LCS (only OCS)
See Also:
IConference, IConferenceListener, ConferenceAdapter, Serialized Form

Method Summary
 IBuddy getBuddy()
          Returns the buddy.
 IConference getConference()
          Returns the conference.
 String getDeclineMessage()
          Returns the message the user sent when declining our invitation.
 Exception getException()
          Returns the exception that occurred.
 IMessage getMessage()
          Returns the message.
 String toString()
          Returns a string representation of this event.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getConference

public IConference getConference()
Returns the conference.

Every conference event has an associated conference.


getBuddy

public IBuddy getBuddy()
Returns the buddy.

Returns:
the buddy, or null if it doesn't apply to this event
See Also:
IConferenceListener.declined(com.zion.jbuddy.conference.ConferenceEvent), IConferenceListener.incomingBuddy(com.zion.jbuddy.conference.ConferenceEvent), IConferenceListener.incomingMessage(com.zion.jbuddy.conference.ConferenceEvent)

getDeclineMessage

public String getDeclineMessage()
Returns the message the user sent when declining our invitation.

Valid for JABBER, YIM.

Returns:
the message, or null if it doesn't apply to this event
See Also:
IConferenceListener.declined(com.zion.jbuddy.conference.ConferenceEvent)

getException

public Exception getException()
Returns the exception that occurred.

Returns:
the exception, or null if it doesn't apply to this event
See Also:
IConferenceListener.lostConnection(com.zion.jbuddy.conference.ConferenceEvent)

getMessage

public IMessage getMessage()
Returns the message.

Returns:
the message, or null if it doesn't apply to this event
See Also:
IConferenceListener.adminMessage(com.zion.jbuddy.conference.ConferenceEvent), IConferenceListener.incomingMessage(com.zion.jbuddy.conference.ConferenceEvent)

toString

public String toString()
Returns a string representation of this event.

Overrides:
toString in class EventObject


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2010 Zion Software, LLC All Rights Reserved.