Package org.somda.sdc.dpws.device
Interface DiscoveryAccess
- All Known Implementing Classes:
DeviceImpl
public interface DiscoveryAccess
Interface to set discovery metadata provided by a Device.
-
Method Summary
Modifier and TypeMethodDescriptionvoidSends a Hello message to the network.voidsetScopes(Collection<String> scopes) Sets the scopes in accordance with WS-Discovery.voidsetTypes(Collection<QName> types) Sets the types in accordance with WS-Discovery.
-
Method Details
-
setTypes
Sets the types in accordance with WS-Discovery.- Parameters:
types- the types to set.- See Also:
-
setScopes
Sets the scopes in accordance with WS-Discovery.- Parameters:
scopes- the scopes to set.- See Also:
-
sendHello
void sendHello()Sends a Hello message to the network.The Hello message will be sent only if
setScopes(Collection)orsetTypes(Collection)has been called prior to this function. This needs to be repeated for every Hello to be sent.
-