Package org.somda.sdc.dpws.device
Interface DiscoveryAccess
-
- All Known Implementing Classes:
DeviceImpl
public interface DiscoveryAccessInterface to set discovery metadata provided by a Device.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsendHello()Sends 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 Detail
-
setTypes
void setTypes(Collection<QName> types)
Sets the types in accordance with WS-Discovery.- Parameters:
types- the types to set.- See Also:
- Matching Types and Scopes
-
setScopes
void setScopes(Collection<String> scopes)
Sets the scopes in accordance with WS-Discovery.- Parameters:
scopes- the scopes to set.- See Also:
- Matching Types and Scopes
-
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.
-
-