public class PresenceResource extends Resource<HashMap<String,Object>>
Constructor and Description |
---|
PresenceResource(Identification provider)
creates a new Resource.
|
PresenceResource(Identification provider,
Identification consumer)
creates a new Resource.
|
PresenceResource(Identification provider,
Presence presence)
creates a new Resource.
|
PresenceResource(Identification provider,
Presence presence,
Identification consumer)
creates a new Resource.
|
getConsumer, getID, getProvider, getResource, getResourceID, hasProvider, setConsumer, setProvider, setResource, toList, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isOwner
public static final String ID
public PresenceResource(Identification provider)
provider
- the Provider of the Resourcepublic PresenceResource(Identification provider, Presence presence)
provider
- the Provider of the Resourcepresence
- the resourcepublic PresenceResource(Identification provider, Identification consumer)
provider
- the Provider of the Resourceconsumer
- the ID of the Consumerpublic PresenceResource(Identification provider, Presence presence, Identification consumer)
provider
- the Provider of the Resourcepresence
- the resourceconsumer
- the ID of the ConsumerCopyright © 2016. All rights reserved.