简体   繁体   English

如果我的类已经扩展了另一个类,如何使用unicastremoteobject ...?

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM