iNTERFACEWARE Products Manual > Installing and Using Iguana > Using Iguana > Working With Plugins > Using a Source Plugin |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
A source plugin is a plugin that connects to the From Plugin component of an Iguana channel. The channel obtains messages by polling the source plugin for new messages. Source plugins use the Source object, which is defined in the Iguana plugin libraries, to establish a connection to an Iguana channel. This object also generates the events that enable the source plugin to communicate with the channel. The Connect() method, which is defined in the Source object, establishes the connection to the Iguana channel. This method requires three parameters:
The following table lists the methods and properties defined for the Source object:
The events that the Source object needs to respond to are:
The easiest way to write a plugin that sends messages is to use Chameleon to generate the plugin stubcode for you. For information on how to do this, refer to the page for the language in which you are writing the plugin:
|