|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEventObject
SessionEvent
SessionConferenceEvent
Represents a conference event.
  | getFrom | getTo | getMessage | getRoom | getUsers | getUser |
conferenceInviteReceived | y | y | y (topic) | y | y | n |
conferenceLogonReceived | y | y | n | y | y | y |
conferenceLogoffReceived | y | y | n | y | n | y |
y | y | y | y | n | y |
Field Summary |
Fields inherited from class EventObject |
source |
Constructor Summary | |
SessionConferenceEvent(Object o,
String t,
String f,
String m,
YahooConference r)
Create a new instance. |
|
SessionConferenceEvent(Object o,
String t,
String f,
String m,
YahooConference r,
YahooUser[] u)
Create a new instance. |
Method Summary | |
YahooConference |
getRoom()
Returns the conference name (room). |
String |
getTopic()
Returns the welcome message sent round to introduce this conference. |
YahooUser |
getUser()
Returns the subject user object for conference events with only one user. |
YahooUser[] |
getUsers()
Returns an array of user objects for the other users in this conference. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class SessionEvent |
getFrom, getMessage, getStatus, getTimestamp, getTo |
Methods inherited from class EventObject |
getSource |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SessionConferenceEvent(Object o, String t, String f, String m, YahooConference r)
o
- source of event (Session
)t
- targetm
- topic/messager
- conference objectpublic SessionConferenceEvent(Object o, String t, String f, String m, YahooConference r, YahooUser[] u)
o
- source of event (Session
)t
- targetm
- topic/messager
- conference objectu
- array of user objectsMethod Detail |
public YahooConference getRoom()
Session
class
methods which facilitate conference use.
public YahooUser[] getUsers()
public YahooUser getUser()
public String getTopic()
getMessage
from the
parent class.
Note: documentation calls this a welcome message, but YIM itself
displays the text under the heading "Topic". For this reason this
API allows either getMessage
or getTopic
to be used.
public String toString()
toString
in class SessionEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |