org.eclipse.ecf.presence.im
Class TypingMessage
java.lang.Object
org.eclipse.ecf.presence.IMMessage
org.eclipse.ecf.presence.im.TypingMessage
- All Implemented Interfaces:
- java.io.Serializable, org.eclipse.core.runtime.IAdaptable, IIMMessage, ITypingMessage
public class TypingMessage
- extends IMMessage
- implements ITypingMessage
Typing Message implementation class
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
body
|
protected boolean |
typing
|
Method Summary |
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
java.lang.String |
getBody()
Get the contents of the typing |
boolean |
isTyping()
Indicates whether remote user is actually typing. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
typing
protected boolean typing
body
protected java.lang.String body
TypingMessage
public TypingMessage(ID fromID,
boolean typing,
java.lang.String body)
TypingMessage
public TypingMessage(ID fromID,
java.lang.String body)
TypingMessage
public TypingMessage(ID fromID)
getBody
public java.lang.String getBody()
- Description copied from interface:
ITypingMessage
- Get the contents of the typing
- Specified by:
getBody
in interface ITypingMessage
- Returns:
- String contents of the typing. May return
null
.
isTyping
public boolean isTyping()
- Description copied from interface:
ITypingMessage
- Indicates whether remote user is actually typing.
- Specified by:
isTyping
in interface ITypingMessage
- Returns:
- true if currently typing, false if currently stopped.
getAdapter
public java.lang.Object getAdapter(java.lang.Class adapter)
- Specified by:
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
- Overrides:
getAdapter
in class IMMessage
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object