|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ecf.presence.Presence
public class Presence
Base presence class implementing IPresence
. Subclasses may be
created as appropriate.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.ecf.presence.IPresence |
---|
IPresence.Mode, IPresence.Type |
Field Summary | |
---|---|
protected IPresence.Mode |
mode
|
protected byte[] |
pictureData
|
protected java.util.Map |
properties
|
protected java.lang.String |
status
|
protected IPresence.Type |
type
|
Constructor Summary | |
---|---|
Presence()
|
|
Presence(IPresence.Type type)
|
|
Presence(IPresence.Type type,
java.lang.String status,
IPresence.Mode mode)
|
|
Presence(IPresence.Type type,
java.lang.String status,
IPresence.Mode mode,
java.util.Map props)
|
|
Presence(IPresence.Type type,
java.lang.String status,
IPresence.Mode mode,
java.util.Map props,
byte[] picture)
|
Method Summary | |
---|---|
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
IPresence.Mode |
getMode()
Get the presence mode for this presence |
byte[] |
getPictureData()
Get picture data for this presence |
java.util.Map |
getProperties()
Get properties for this presence |
java.lang.String |
getStatus()
Get status information for this presence information. |
IPresence.Type |
getType()
Get presence type information for this presence. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected IPresence.Type type
protected IPresence.Mode mode
protected java.lang.String status
protected java.util.Map properties
protected byte[] pictureData
Constructor Detail |
---|
public Presence()
public Presence(IPresence.Type type)
public Presence(IPresence.Type type, java.lang.String status, IPresence.Mode mode, java.util.Map props, byte[] picture)
public Presence(IPresence.Type type, java.lang.String status, IPresence.Mode mode, java.util.Map props)
public Presence(IPresence.Type type, java.lang.String status, IPresence.Mode mode)
Method Detail |
---|
public IPresence.Mode getMode()
IPresence
getMode
in interface IPresence
null
.public java.util.Map getProperties()
IPresence
getProperties
in interface IPresence
null
.public java.lang.String getStatus()
IPresence
getStatus
in interface IPresence
null
.public IPresence.Type getType()
IPresence
getType
in interface IPresence
null
.public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
public byte[] getPictureData()
IPresence
getPictureData
in interface IPresence
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |