public interface ApplicationMessageListener
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getAppId()
Gets application id.
|
String |
getName()
Gets name.
|
void |
onBind(String queueName)
Calls when binds to queue.
|
void |
onReceive(String queueName,
net.sf.json.JSONObject json)
Calls when message arrives.
|
void |
onUnbind(String queueName)
Calls when unbinds from queue.
|
String getName()
String getAppId()
void onBind(String queueName)
queueName - the queue name.void onUnbind(String queueName)
queueName - the queue name.void onReceive(String queueName, net.sf.json.JSONObject json)
queueName - the queue name.json - the content of message.Copyright © 2004-2013. All Rights Reserved.