diff options
Diffstat (limited to 'doc/bundles/org.eclipse.ecf.doc/html/reference/extension-points/org_eclipse_ecf_presence_bot_chatRoomRobot.html')
-rw-r--r-- | doc/bundles/org.eclipse.ecf.doc/html/reference/extension-points/org_eclipse_ecf_presence_bot_chatRoomRobot.html | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/doc/bundles/org.eclipse.ecf.doc/html/reference/extension-points/org_eclipse_ecf_presence_bot_chatRoomRobot.html b/doc/bundles/org.eclipse.ecf.doc/html/reference/extension-points/org_eclipse_ecf_presence_bot_chatRoomRobot.html deleted file mode 100644 index 1c7acd7b5..000000000 --- a/doc/bundles/org.eclipse.ecf.doc/html/reference/extension-points/org_eclipse_ecf_presence_bot_chatRoomRobot.html +++ /dev/null @@ -1,108 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<HTML> -<HEAD><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Chat Room Robot</title> -<style type="text/css">@import url("../../../../org.eclipse.platform.doc.isv/book.css");</style> -<style type="text/css">@import url("../../../../org.eclipse.platform.doc.isv/schema.css");</style> -</HEAD> -<BODY> -<H1 style="text-align:center">Chat Room Robot</H1> -<p></p> -<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.ecf.presence.bot.chatRoomRobot<p></p> -<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>1.0.0 milestone 6 -<p></p> - -<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>This extension point allows implementers to define a chat room bot.<p></p> -<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6> -<p></p> -<p class="code SchemaDtd"><!ELEMENT <a name="e.extension">extension</a> (<a href="#e.chatRoomRobot">chatRoomRobot</a>)+></p> -<p class="code SchemaDtd"><!ATTLIST extension</p> -<p class="code SchemaDtdAttlist">point CDATA #REQUIRED</p> -<p class="code SchemaDtdAttlist">id CDATA #IMPLIED</p> -<p class="code SchemaDtdAttlist">name CDATA #IMPLIED></p> -<p></p> -<ul class="ConfigMarkupAttlistDesc"> -</ul> -<br><p class="code SchemaDtd"><!ELEMENT <a name="e.chatRoomRobot">chatRoomRobot</a> (<a href="#e.chatRooms">chatRooms</a>+)></p> -<p class="code SchemaDtd"><!ATTLIST chatRoomRobot</p> -<p class="code SchemaDtdAttlist">id CDATA #REQUIRED</p> -<p class="code SchemaDtdAttlist">containerFactoryName CDATA #REQUIRED</p> -<p class="code SchemaDtdAttlist">connectId CDATA #REQUIRED</p> -<p class="code SchemaDtdAttlist">connectPassword CDATA #IMPLIED</p> -<p class="code SchemaDtdAttlist">name CDATA #IMPLIED></p> -<p></p> -<p class="ConfigMarkupElementDesc"> -The chatRoomRobot extension point.</p> -<br> -<ul class="ConfigMarkupAttlistDesc"> -<li><b>id</b> - The required id for the chat room robot. This must be a unique value relative to all other robots. For message handlers that are to use this robot, they must provide a chatrobotid that matches this value.</li> -<li><b>containerFactoryName</b> - The required container factory name. This should be the container factory name for a given protocol. For example, for the built in ECF IRC provider the value is <b>ecf.irc.irclib</b>.</li> -<li><b>connectId</b> - The connect ID for connecting to the given container. For example, for IRC the expected ID syntax of the connect ID is -<pre class="Example"><span class="code SchemaTag"> -irc://username@host[:port] - -for example: irc://slewis2_@irc.freenode.net -</span></pre></li> -<li><b>connectPassword</b> - An optional connect password. If a password is required to connect to the given container then an appropriate value must be provided.</li> -<li><b>name</b> - An optional name for the bot.</li> -</ul> -<br><p class="code SchemaDtd"><!ELEMENT <a name="e.chatRooms">chatRooms</a> EMPTY></p> -<p class="code SchemaDtd"><!ATTLIST chatRooms</p> -<p class="code SchemaDtdAttlist">name CDATA #REQUIRED</p> -<p class="code SchemaDtdAttlist">password CDATA #IMPLIED></p> -<p></p> -<ul class="ConfigMarkupAttlistDesc"> -<li><b>name</b> - The name of the chat room that the robot should join.</li> -<li><b>password</b> - The password required to join the chat room.</li> -</ul> -<br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6><pre class="Example"><span class="code SchemaTag"> - <extension - point=</span><span class="code SchemaCstring">"org.eclipse.ecf.presence.bot.chatRoomRobot"</span><span class="code SchemaTag">> - <chatRoomRobot - connectId=</span><span class="code SchemaCstring">"irc://slewis2_@irc.freenode.net"</span><span class="code SchemaTag"> - containerFactoryName=</span><span class="code SchemaCstring">"ecf.irc.irclib"</span><span class="code SchemaTag"> - id=</span><span class="code SchemaCstring">"org.eclipse.ecf.presence.bot.defaultbot"</span><span class="code SchemaTag">> - <chatRooms - name=</span><span class="code SchemaCstring">"#eclipse-ecf"</span><span class="code SchemaTag">> - </chatRooms> - <chatRooms - name=</span><span class="code SchemaCstring">"#secret-channel"</span><span class="code SchemaTag"> - password=</span><span class="code SchemaCstring">"secret-password"</span><span class="code SchemaTag">> - </chatRooms> - </chatRoomRobot> - </extension> -</span></pre> - -Note that to have the chatRoomRobot receive chat room messages and process them, that the chatRoomMessageHandler should also be defined -using the id for the chatRoomRobot given above. For example: - -<pre class="Example"><span class="code SchemaTag"> - <extension - point=</span><span class="code SchemaCstring">"org.eclipse.ecf.presence.bot.chatRoomMessageHandler"</span><span class="code SchemaTag">> - <handler - chatRoomRobotId=</span><span class="code SchemaCstring">"org.eclipse.ecf.presence.bot.defaultbot"</span><span class="code SchemaTag"> - class=</span><span class="code SchemaCstring">"org.eclipse.ecf.presence.bot.DefaultChatRoomMessageHandler"</span><span class="code SchemaTag">> - </handler> - </extension> -</span></pre> -<p></p> - -<h6 class="CaptionFigColumn SchemaHeader">API Information: </h6>See the API information for the chatRoomMessageHandler -<p></p> - -<h6 class="CaptionFigColumn SchemaHeader">Supplied Implementation: </h6>No supplied implementation. -<p></p> - -<br> -<p class="note SchemaCopyright"> -Copyright (c) 2007 IBM Corporation and others. - -This program and the accompanying materials are made -available under the terms of the Eclipse Public License 2.0 -which is available at https://www.eclipse.org/legal/epl-2.0/ - -SPDX-License-Identifier: EPL-2.0 - -</p> -</BODY> -</HTML> |