Changeset 858
- Timestamp:
- 02/23/09 06:14:56 (9 months ago)
- Location:
- trunk/DJabberd/lib/DJabberd
- Files:
-
- 3 modified
-
Agent.pm (modified) (3 diffs)
-
Component.pm (modified) (2 diffs)
-
Component/External.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DJabberd/lib/DJabberd/Agent.pm
r768 r858 95 95 =head2 handle_stanza($self, $vhost, $stanza) 96 96 97 This method is the "entry point" of this class, and is called when a stanza is rec ieved97 This method is the "entry point" of this class, and is called when a stanza is received 98 98 which this agent expressed a desire to handle. The default implementation dispatches 99 99 to one of the higher-level C<handle_...> methods depending on the type of stanza that … … 143 143 If a true value is returned, the server will assume that your agent will handle the 144 144 stanza and will call C<handle_stanza>. If a false value is returned, the server will 145 continue to look for anoth reappropriate delivery plugin to accept the stanza.145 continue to look for another appropriate delivery plugin to accept the stanza. 146 146 147 147 =cut … … 226 226 Instead, subclasses should call this method to register a handler for a particular type of IQ 227 227 stanza. The default implementation of C<handle_iq> will then call the registered handlers 228 when an appropriate stanza is rec ieved.228 when an appropriate stanza is received. 229 229 230 230 C<$signature> is a string containing the IQ signature using DJabberd's standard IQ signature -
trunk/DJabberd/lib/DJabberd/Component.pm
r768 r858 88 88 component. (That is, jids of the form C<user@example.com>, rather than just C<example.com>.) 89 89 90 When such a stanza is rec ieved, the C<get_node> method will be called to retrieve90 When such a stanza is received, the C<get_node> method will be called to retrieve 91 91 an object representing that node. 92 92 … … 174 174 175 175 return [ 176 [ 'h eirarchy', 'branch', $self->name ],176 [ 'hierarchy', 'branch', $self->name ], 177 177 ]; 178 178 } -
trunk/DJabberd/lib/DJabberd/Component/External.pm
r768 r858 8 8 This component provides support for connecting external components that support the 9 9 Jabber Component Protocol specified in JEP-0114. Specify the TCP port that the external component 10 will connect on and the secret it will use to authenticate. These should match the equiv ilent10 will connect on and the secret it will use to authenticate. These should match the equivalent 11 11 settings in the component's own configuration. 12 12
