Interface ScopesDecorator
-
- All Known Implementing Classes:
SdcRequiredTypesAndScopes
public interface ScopesDecoratorDecorator interface to allow extending WS-Discovery Scopes during runtime.The decorator does only allow changes to scopes based on context and description modifications. This interface can be used to extend the required types and scopes implementation
SdcRequiredTypesAndScopesby means of the decorator pattern.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendScopesAndSendHello(Set<String> scopes)Gives the order to append the given set of scopes and send a Hello if changes ensued.voidinit(SdcDeviceContext context, Set<String> scopes)Call this function to initialize the scopes decorator.
-
-
-
Method Detail
-
init
void init(SdcDeviceContext context, Set<String> scopes)
Call this function to initialize the scopes decorator.Not doing so can cause unknown side-effects depending on the decorated implementation.
- Parameters:
context- the context data possibly needed by the decorator to work.scopes- initial set of scopes visible to the decorator.
-
-