Protocol Adapters

org.eclipse.wst.internet.monitor.core.internalProtocolAdapters

This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

This extension point is used to provide an adapter for a new protocol (e.g. HTTP). This allows different types of protocols to be monitored in a specific way.

<!ELEMENT extension (protocolAdapter+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT protocolAdapter EMPTY>

<!ATTLIST protocolAdapter

id    CDATA #REQUIRED

class CDATA #REQUIRED

name  CDATA #REQUIRED>


The following is an example of a protocol adapter extension point to define a protocol adapter for TCP/IP:
   

<extension point=

"org.eclipse.wst.internet.monitor.core.protocolAdapters"

>

<protocolAdapter id=

"TCPIP"

class=

"com.example.TCPIPProtocolAdapter"

name=

"%TCPIP"

/>

</extension>

Value of the attribute class must be a fully qualified name of a Java class that extends the abstract class org.eclipse.wst.internet.monitor.core.internal.ProtocolAdapterDelegate.