Comments (1)
@gzplace 在Service
端暴露的远程接口IRemoteService
中,需要提供注册Callback
的方法呀~ 这样Client
端就可以通过registerCallback
方法把Callback
跨进程传到Service
端了呀,然后就能回调啦~ 在README
和Sample
里面都相关的代码和描述,建议再仔细阅读一次哦~
@RemoteInterface
public interface IRemoteService {
...
void registerCallback(@Callback ITestCallback callback);
...
}
from andlinker.
Related Issues (16)
- 还要服务端配合啊。。 HOT 5
- 请教一个问题 HOT 6
- Demo code is not correct HOT 1
- Linker如何注册多个Callback? HOT 1
- Callback not working right HOT 3
- Callback 不带参数的方法回调会失败 HOT 2
- How to implement the library for two seprate application HOT 2
- 如何支持多个客户端? HOT 1
- 关于异常日志打印 HOT 1
- 快速绑定解绑来回操作必现没有回调
- 请教下服务端如何主动发数据给客户端
- crash: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException HOT 1
- java.lang.NullPointerException: Expected to unbox a 'boolean' primitive type but was returned null HOT 1
- 请教下服务端如何主动发数据给客户端 HOT 3
- 请问这个库怎么做死亡监听呢? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from andlinker.