|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 关闭服务的请求 | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws RemoteException | 
|---|
|  |  |  | * @return 命令结果的ID,如果为空,则说明出错 | 
|---|
|  |  |  | * @throws RemoteException 异常 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | String shutRequest() throws RemoteException; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | * 异步请求 | 
|---|
|  |  |  | * @param command 命令 | 
|---|
|  |  |  | * @return 命令结果的ID,如果为空,则说明出错 | 
|---|
|  |  |  | * @throws RemoteException | 
|---|
|  |  |  | * @throws RemoteException 异常 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | String asyncRequest(Object command) throws RemoteException; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 同步请求 | 
|---|
|  |  |  | * @param command 命令 | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws RemoteException | 
|---|
|  |  |  | * @return 命令结果,如果为空,则说明出错 | 
|---|
|  |  |  | * @throws RemoteException 异常 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Object syncRequest(Object command) throws RemoteException; | 
|---|
|  |  |  | } | 
|---|