TM Service Discovery
Release 2.0

org.eclipse.tm.discovery.protocol
Interface IProtocol


public interface IProtocol

Interface for service discovery protocol implementations.
Standard protocols that can be implementated from this interface are:

As well as propietary/customised protocols


Method Summary
 Job getDiscoveryJob(String query, org.eclipse.emf.ecore.resource.Resource resource, ITransport transport)
          Instantiates a Job to populate a model given an initial query, a resource containing the model to be populated and an ITranport implementation.
 String[] getQueries()
          Gets the list of recommended queries to start the service discovery process.
 

Method Detail

getDiscoveryJob

Job getDiscoveryJob(String query,
                    org.eclipse.emf.ecore.resource.Resource resource,
                    ITransport transport)
Instantiates a Job to populate a model given an initial query, a resource containing the model to be populated and an ITranport implementation.

Parameters:
query - Initial query to be sent to the target. This initial query can be obtained from the getQueries() method.
resource - Resource containing the model to be populated with the results of the service discovery action.
transport - ITransport implementation of the transport to be used for the discovery action.
Returns:
Job containing the service discovery action.
See Also:
Job, Resource, ITransport

getQueries

String[] getQueries()
Gets the list of recommended queries to start the service discovery process. This queries can be used in getDiscoveryJob().

Returns:
An array containing the recommended queries.

TM Service Discovery
Release 2.0

Copyright (c) 2007 Symbian Software Ltd. and others. All Rights Reserved.