[英]How to use unicastremoteobject if my class is already extending another class…?
I have a problem, that my Server
class is already extending another class. 我有一个问题,我的
Server
类已经扩展了另一个类。 How should I use UniCastRemoteObject
? 我应该如何使用
UniCastRemoteObject
?
Just call UnicastRemoteObject.exportObject()
. 只需调用
UnicastRemoteObject.exportObject()
。 That will export the object, just like calling super() would if your class extended UnicastRemoteObject
. 这将导出对象,就像你的类扩展
UnicastRemoteObject
调用super()一样。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.