|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageIndication
Represents the Message Indication (like typing) in a chat between participants.
Chat| Nested Class Summary | |
|---|---|
static class |
MessageIndication.State
The State in the MessageIndication. |
| Method Summary | |
|---|---|
Date |
getLastActive()
Return the time when the participant was active previously in the chat. |
String |
getNextMessageType()
Returns the content type of the next message participant is planning to send. |
int |
getRefreshInterval()
Return the refresh interval time. |
MessageIndication.State |
getState()
Return the state in the message indication. |
void |
setLastActive(Date lastActive)
Set the time participant was active previously in the chat. |
void |
setNextMessageType(String msgType)
Set the content type of the next message. |
void |
setRefreshInterval(int interval)
Set the refresh interval time. |
void |
setState(MessageIndication.State st)
Set the state in the message indication. |
| Methods inherited from interface org.glassfish.cafe.api.Message |
|---|
consume, getContent, getContentType, reject, send, send, send |
| Method Detail |
|---|
MessageIndication.State getState()
MessageIndication.Statevoid setState(MessageIndication.State st)
st - State of the MessageIndication.MessageIndication.StateString getNextMessageType()
void setNextMessageType(String msgType)
msgType - Type of the next message.Date getLastActive()
Datevoid setLastActive(Date lastActive)
lastActive - Time when the participant was previously active.int getRefreshInterval()
void setRefreshInterval(int interval)
interval - Refresh interval in seconds.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||