|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.webchat.chat.ChatSession
public class ChatSession
Constructor Summary | |
---|---|
ChatSession()
|
Method Summary | |
---|---|
void |
cancelledNotification(java.lang.String from,
java.lang.String packetID)
|
void |
close()
|
void |
composingNotification(java.lang.String from,
java.lang.String packetID)
Since only the agent app broadcasts this type of notification, we don't need to worry about who specifically this notification is from |
boolean |
composingNotificationsWereReceived()
Returns whether composing notifications were received; regardless, the flag describing this condition is set to false after this query. |
void |
deliveredNotification(java.lang.String from,
java.lang.String packetID)
MessageEventNotificationListener implementation |
void |
displayedNotification(java.lang.String from,
java.lang.String packetID)
|
org.jivesoftware.smack.Chat |
getChat()
|
ChatPoller |
getChatPoller()
|
org.jivesoftware.smack.XMPPConnection |
getConnection()
Returns the current connection |
org.jivesoftware.smackx.MessageEventManager |
getMessageEventManager()
|
java.lang.String |
getNickname()
|
java.lang.String |
getParticipant()
|
boolean |
isAuthenticated()
Returns true if the user has logged in anonymous or with a username and password. |
boolean |
isClosed()
|
boolean |
isInChat()
|
void |
offlineNotification(java.lang.String from,
java.lang.String packetID)
|
void |
processPacket(org.jivesoftware.smack.packet.Packet packet)
|
void |
setNickname(java.lang.String nickname)
|
void |
setupListeners()
InvitationListener implementation |
void |
startSession(java.lang.String participant,
java.lang.String roomName,
java.lang.String chatID)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChatSession()
Method Detail |
---|
public void startSession(java.lang.String participant, java.lang.String roomName, java.lang.String chatID)
public org.jivesoftware.smack.XMPPConnection getConnection()
public boolean isAuthenticated()
public boolean isInChat()
public org.jivesoftware.smack.Chat getChat()
public boolean isClosed()
public boolean composingNotificationsWereReceived()
public void close()
public void setupListeners()
public void deliveredNotification(java.lang.String from, java.lang.String packetID)
deliveredNotification
in interface org.jivesoftware.smackx.MessageEventNotificationListener
public void displayedNotification(java.lang.String from, java.lang.String packetID)
displayedNotification
in interface org.jivesoftware.smackx.MessageEventNotificationListener
public void composingNotification(java.lang.String from, java.lang.String packetID)
composingNotification
in interface org.jivesoftware.smackx.MessageEventNotificationListener
public void offlineNotification(java.lang.String from, java.lang.String packetID)
offlineNotification
in interface org.jivesoftware.smackx.MessageEventNotificationListener
public void cancelledNotification(java.lang.String from, java.lang.String packetID)
cancelledNotification
in interface org.jivesoftware.smackx.MessageEventNotificationListener
public void processPacket(org.jivesoftware.smack.packet.Packet packet)
public org.jivesoftware.smackx.MessageEventManager getMessageEventManager()
public void setNickname(java.lang.String nickname)
public java.lang.String getNickname()
public ChatPoller getChatPoller()
public java.lang.String getParticipant()
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |