Class jabberwerx.Server (MINIMAL)
Extends
jabberwerx.Entity.
Represents the server to connect a jabberwerx.Client to.
Constructor Attributes | Constructor Name and Description |
---|---|
jabberwerx.Server(serverDomain, cache)
Creates a new Server with the given domain and owning
cache.
|
- Fields borrowed from class jabberwerx.Entity:
- features, identities, jid, node, properties
- Methods borrowed from class jabberwerx.Entity:
- apply, destroy, getAllPresence, getDisplayName, getGroups, getPrimaryPresence, getResourcePresence, hasFeature, hasIdentity, isActive, matches, remove, setDisplayName, setGroups, toString, update, updatePresence
- Methods borrowed from class jabberwerx.JWModel:
- applyEvent, event, shouldBeSavedWithGraph
- Methods borrowed from class jabberwerx.JWBase:
- getClassName, graphUnserialized, init, invocation, shouldBeSerializedInline, wasUnserialized, willBeSerialized
Class Detail
jabberwerx.Server(serverDomain, cache)
Creates a new Server with the given domain and owning
cache.
- Parameters:
- {String} serverDomain
- The domain to connect to
- {jabberwerx.ClientEntityCache} cache Optional
- The owning cache