| | |
| | |
|
| | | public static final String CALLBACK_CMD_PLAY = "CALLBACK_PLAY";
|
| | |
|
| | | public static final String CALLBACK_CMD_PLAYBACK = "CALLBACK_PLAY";
|
| | | public static final String CALLBACK_CMD_PLAYBACK = "CALLBACK_PLAYBACK";
|
| | |
|
| | | public static final String CALLBACK_CMD_DOWNLOAD = "CALLBACK_DOWNLOAD";
|
| | |
|
| | | public static final String CALLBACK_CMD_STOP = "CALLBACK_STOP";
|
| | |
|
| | | public static final String UPLOAD_FILE_CHANNEL = "UPLOAD_FILE_CHANNEL";
|
| | |
|
| | | public static final String CALLBACK_CMD_MOBILEPOSITION = "CALLBACK_MOBILEPOSITION";
|
| | |
|
| | |
| | |
|
| | | public DeferredResult get(String key, String id) {
|
| | | Map<String, DeferredResult> deferredResultMap = map.get(key);
|
| | | if (deferredResultMap == null) return null;
|
| | | if (deferredResultMap == null) {
|
| | | return null;
|
| | | }
|
| | | return deferredResultMap.get(id);
|
| | | }
|
| | |
|
| | | public boolean exist(String key, String id){
|
| | | if (key == null) return false;
|
| | | if (key == null) {
|
| | | return false;
|
| | | }
|
| | | Map<String, DeferredResult> deferredResultMap = map.get(key);
|
| | | if (id == null) {
|
| | | return deferredResultMap != null;
|