com.caucho.server.admin
Class DeployService
java.lang.Object
com.caucho.bam.AbstractBamService
com.caucho.bam.SimpleBamService
com.caucho.server.admin.DeployService
- All Implemented Interfaces:
- BamService, BamStream
public class DeployService
- extends SimpleBamService
|
Method Summary |
java.lang.String |
getJid()
Returns the jid |
void |
init()
|
boolean |
queryGet(long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable query)
Sends a query information call (get), returning true if this
handler understands the query class, and false if it does not. |
boolean |
querySet(long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable query)
Sends a query update request (set), returning true if this handler
understands the query class, and false if it does not. |
void |
start()
|
| Methods inherited from class com.caucho.bam.SimpleBamService |
getAgentStream, getBamSkeleton, getBrokerStream, message, messageError, presence, presenceError, presenceProbe, presenceSubscribe, presenceSubscribed, presenceUnavailable, presenceUnsubscribe, presenceUnsubscribed, queryError, queryResult, setBrokerStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getJid
public java.lang.String getJid()
- Description copied from class:
AbstractBamService
- Returns the jid
- Specified by:
getJid in interface BamService- Specified by:
getJid in interface BamStream- Overrides:
getJid in class AbstractBamService
init
public void init()
start
public void start()
queryGet
public boolean queryGet(long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable query)
- Description copied from interface:
BamStream
- Sends a query information call (get), returning true if this
handler understands the query class, and false if it does not.
If queryGet returns true, the handler MUST send a
queryResult or queryError to the sender,
using the same id.
- Specified by:
queryGet in interface BamStream- Overrides:
queryGet in class SimpleBamService
- Parameters:
id - the query identifier used to match requests with responsesto - the target JIDfrom - the source JID, used as the target for the responsequery - the query payload
- Returns:
- true if this handler understand the query, false otherwise
querySet
public boolean querySet(long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable query)
- Description copied from interface:
BamStream
- Sends a query update request (set), returning true if this handler
understands the query class, and false if it does not.
If querySet returns true, the handler MUST send a
queryResult or queryError to the sender,
using the same id.
- Specified by:
querySet in interface BamStream- Overrides:
querySet in class SimpleBamService
- Parameters:
id - the query identifier used to match requests with responsesto - the target JIDfrom - the source JID, used as the target for the responsequery - the query payload
- Returns:
- true if this handler understand the query, false otherwise