public interface HproseClients
| 限定符和类型 | 方法和说明 |
|---|---|
void |
broadcast(String topic,
Object result) |
void |
broadcast(String topic,
Object result,
Action<Integer[]> callback) |
boolean |
exist(String topic,
Integer id) |
Integer[] |
idlist(String topic) |
void |
multicast(String topic,
Integer[] ids,
Object result) |
void |
multicast(String topic,
Integer[] ids,
Object result,
Action<Integer[]> callback) |
Promise<Integer[]> |
push(String topic,
Integer[] ids,
Object result) |
Promise<Boolean> |
push(String topic,
Integer id,
Object result) |
Promise<Integer[]> |
push(String topic,
Object result) |
void |
unicast(String topic,
Integer id,
Object result) |
void |
unicast(String topic,
Integer id,
Object result,
Action<Boolean> callback) |
Integer[] idlist(String topic) throws HproseException
HproseExceptionboolean exist(String topic, Integer id) throws HproseException
HproseExceptionvoid broadcast(String topic, Object result) throws HproseException
HproseExceptionvoid broadcast(String topic, Object result, Action<Integer[]> callback) throws HproseException
HproseExceptionvoid multicast(String topic, Integer[] ids, Object result) throws HproseException
HproseExceptionvoid multicast(String topic, Integer[] ids, Object result, Action<Integer[]> callback) throws HproseException
HproseExceptionvoid unicast(String topic, Integer id, Object result) throws HproseException
HproseExceptionvoid unicast(String topic, Integer id, Object result, Action<Boolean> callback) throws HproseException
HproseExceptionPromise<Integer[]> push(String topic, Object result) throws HproseException
HproseExceptionPromise<Integer[]> push(String topic, Integer[] ids, Object result) throws HproseException
HproseExceptionPromise<Boolean> push(String topic, Integer id, Object result) throws HproseException
HproseExceptionCopyright © 2016. All Rights Reserved.