|
TM Service Discovery Release 2.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.tm.discovery.protocol.ProtocolFactory
public class ProtocolFactory
Static factory to handle the protocol implementations.
Constructor Summary | |
---|---|
ProtocolFactory()
|
Method Summary | |
---|---|
static String |
getMulticastAddress(String protocolName,
String transportName)
Gets the multicast address given a protocol name and a transport name or returns null if this information is not available |
static IProtocol |
getProtocol(String protocolName)
Gets the IProtocol implementation of a protocol given its name |
static String[] |
getProtocolList()
Returns the available protocol names. |
static String[] |
getQueryList(String protocolName)
Returns the recommended queries for the specified protocol |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProtocolFactory()
Method Detail |
---|
public static String[] getProtocolList()
public static String[] getQueryList(String protocolName) throws CoreException
protocolName
- Name of the protocol
CoreException
public static IProtocol getProtocol(String protocolName) throws CoreException
protocolName
- Name of the protocol
CoreException
IProtocol
public static String getMulticastAddress(String protocolName, String transportName) throws CoreException
protocolName
- Name of the protocoltransportName
- Name of the transport
CoreException
IProtocol
|
TM Service Discovery Release 2.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |