IM Robot

org.eclipse.ecf.presence.bot.imRobot

1.0.0 milestone 6

This extension point allows implementers to define a im bot.

<!ELEMENT extension (imRobot)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT imRobot EMPTY>

<!ATTLIST imRobot

id                   CDATA #REQUIRED

containerFactoryName CDATA #REQUIRED

connectId            CDATA #REQUIRED

name                 CDATA #IMPLIED

connectPassword      CDATA #IMPLIED>

The imrobot extension point.



   

<extension point=

"org.eclipse.ecf.presence.bot.imRobot"

>

<imRobot connectID=

"slewis@ecf.eclipse.org"

containerFactoryName=

"ecf.xmpp.smack"

id=

"org.eclipse.ecf.presence.imbot.defaultbot"

/>

</imRobot>

</extension>

Note that to have the imrobot receive im messages and process them, that the immessagehandler should also be defined using the id for the imrobot given above. For example:
   

<extension point=

"org.eclipse.ecf.presence.bot.immessagehandler"

>

<handler imrobotid=

"org.eclipse.ecf.presence.imbot.defaultbot"

class=

"org.eclipse.ecf.presence.imbot.DefaultIMMessageHandler"

>

</handler>

</extension>

See the API information for the immessagehandler.

No supplied implementation.