Interface WsDiscoveryTargetService
-
- All Implemented Interfaces:
-
org.somda.sdc.dpws.soap.interception.Interceptor
public interface WsDiscoveryTargetService implements Interceptor
WS-Discovery Target Service interface.
-
-
Method Summary
Modifier and Type Method Description abstract EndpointReferenceTypegetEndpointReference()abstract voidsetTypes(List<QName> qNames)Thread-safe function to set the list of QNames. abstract List<QName>getTypes()Thread-safe function to get the list of QNames. abstract voidsetScopes(List<String> uris)Thread-safe function to set the list of scope URIs. abstract List<String>getScopes()Thread-safe function to get the list of scope URIs. abstract voidsetXAddrs(List<String> xAddrs)Thread-safe function to set the list of XAddr URIs. abstract List<String>getXAddrs()Thread-safe function to get the list of XAddr URIs. abstract voidsetMetadataModified()Thread-safe function to explicitly set the target service metadata to be modified (thread-safe). abstract UnsignedIntegergetMetadataVersion()Thread-safe function to get the metadata version. abstract UnsignedIntegersendHello()Blocking function to send out a Hello message. abstract UnsignedIntegersendHello(boolean forceNewMetadataVersion)Blocking function to send out a Hello message. abstract voidsendBye()Blocking function to send out a Bye message. -
-
Method Detail
-
getEndpointReference
abstract EndpointReferenceType getEndpointReference()
-
setTypes
abstract void setTypes(List<QName> qNames)
Thread-safe function to set the list of QNames.
- Parameters:
qNames- the list of QNames to set.
-
getTypes
abstract List<QName> getTypes()
Thread-safe function to get the list of QNames.
- Returns:
the list of QNames.
-
setScopes
abstract void setScopes(List<String> uris)
Thread-safe function to set the list of scope URIs.
- Parameters:
uris- the list of scope URIs to set.
-
getScopes
abstract List<String> getScopes()
Thread-safe function to get the list of scope URIs.
- Returns:
the list of scope URIs.
-
setXAddrs
abstract void setXAddrs(List<String> xAddrs)
Thread-safe function to set the list of XAddr URIs.
- Parameters:
xAddrs- the list of XAddr URIs.
-
getXAddrs
abstract List<String> getXAddrs()
Thread-safe function to get the list of XAddr URIs.
- Returns:
the list of XAddr URIs.
-
setMetadataModified
abstract void setMetadataModified()
Thread-safe function to explicitly set the target service metadata to be modified (thread-safe).
This is useful if the metadata change does not belong to, e.g., Types and Scopes.
-
getMetadataVersion
abstract UnsignedInteger getMetadataVersion()
Thread-safe function to get the metadata version.
- Returns:
the metadata version.
-
sendHello
abstract UnsignedInteger sendHello()
Blocking function to send out a Hello message.
This is a shorthand function to sendHello.
- Returns:
the metadata version that has been attached to the Hello message.
-
sendHello
abstract UnsignedInteger sendHello(boolean forceNewMetadataVersion)
Blocking function to send out a Hello message.
- Parameters:
forceNewMetadataVersion- set to true to force incrementing the metadata version, or false to not do so.- Returns:
the metadata version that has been attached to the Hello message.
-
sendBye
abstract void sendBye()
Blocking function to send out a Bye message.
-
-
-
-