|
|
Re: Need help on networkAddressService [message #1798772 is a reply to message #1798756] |
Fri, 23 November 2018 23:55 |
Markus Michels Messages: 4 Registered: November 2018 |
Junior Member |
|
|
Hi Kai, this did the magic. Thanks!!
When I'm going to implement UpnpIOParticipant and add
import org.eclipse.smarthome.io.transport.upnp.UpnpIOParticipant;
import org.eclipse.smarthome.io.transport.upnp.UpnpIOService;
@Override
public void onValueReceived(String variable, String value, String service) {}
Eclipse shows the following error:
Multiple markers at this line
- Illegal redefinition of parameter variable, inherited method from UpnpIOParticipant does not constrain this parameter
- Illegal redefinition of parameter value, inherited method from UpnpIOParticipant does not constrain this parameter
- Illegal redefinition of parameter service, inherited method from UpnpIOParticipant does not constrain this parameter
- implements org.eclipse.smarthome.io.transport.upnp.UpnpIOParticipant.onValueReceived
However, declaration of UpnpIOParticipant contains
/** Called when the UPNP IO service receives a {variable,value} tuple for the given UPNP service **/
public void onValueReceived(String variable, String value, String service);
so exactly like my implementation.
onServiceSubscribed same - Eclipse reports errors on String
whereas onStatusChanged is accepted, because it contains no String parameters.
Any magic hint?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04243 seconds