|
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 java.lang.String |
getMulticastAddress(java.lang.String protocolName,
java.lang.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(java.lang.String protocolName)
Gets the IProtocol implementation of a protocol given its name |
static java.lang.String[] |
getProtocolList()
Returns the available protocol names. |
static java.lang.String[] |
getQueryList(java.lang.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 java.lang.String[] getProtocolList()
public static java.lang.String[] getQueryList(java.lang.String protocolName) throws CoreException
protocolName
- Name of the protocol
CoreException
public static IProtocol getProtocol(java.lang.String protocolName) throws CoreException
protocolName
- Name of the protocol
CoreException
IProtocol
public static java.lang.String getMulticastAddress(java.lang.String protocolName, java.lang.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 |