Home | Trees | Index | Help |
|
---|
Package AccessGrid :: Module NetworkServicesManager :: Class NetworkServiceMatcher |
|
Method Summary | |
---|---|
__init__(self)
| |
Finds network services that can resolve mismatches between a set of streams and the node capabilities. | |
For a given stream, find network services that have matching in capabilities. | |
For given services, find all services that have out capabilities that matches the capabilities of a node. |
Method Details |
---|
Match(self, streams, capabilities, services)Finds network services that can resolve mismatches between a set of streams and the node capabilities. ** Arguments ** * streams * Streams we want to match * capabilities * A set of capabilities describing a node. * services * A list of available network services. ** Returns ** * streamServiceList* A list containing tuple objects ([stream],[service]) that associates a set of streams with a chain of network services. |
__MatchInCapabilities(self, stream, services)For a given stream, find network services that have matching in capabilities. ** Arguments ** * stream * Stream we want to match against. * services * A list of network services. ** Returns ** *matchingServices* includes all matching services for a stream. |
__MatchOutCapabilities(self, services, capabilities)For given services, find all services that have out capabilities that matches the capabilities of a node. ** Arguments ** *services* A list of network services. *capabilities* A set of capabilities describing a node. ** Returns ** * matchingServices * A list of network services with matching out capability. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 14 16:39:29 2005 | http://epydoc.sf.net |