ServiceDiscovery Service scoring function using Role name.
Uses 1 criteria -
service role must match scorer role (in Commercial Service Scheme)
All passing descriptions get a score of 1, all failing descriptions get
a score of -1.
SDClientPlugin creates the RoleScorer and attaches it to the MMQueryRequest .
MatchmakerPlugin uses the RoleScorer to evaluate service descriptions
returned from the yellow pages. |