The io Section

The <io/> section of the jabber.xml configuration file, shown in Example 4-20 and represented in diagram form in Figure 4-17, is where a number of settings relating to socket communication with the Jabber server are set.

Example 4-20. jabber.xml configuration for the io section

<io>

  <karma>
    <heartbeat>2</heartbeat>
    <init>64</init>
    <max>64</max>
    <inc>6</inc>
    <dec>1</dec>
    <penalty>-3</penalty>
    <restore>64</restore>
  </karma>

  <rate points="5" time="25"/>

</io>

Diagram view of io section
Figure 4-17. Diagram view of io section

Although a distinct section, io does not describe a component with custom configuration or a connection method; the contents are merely settings. Let’s examine each of these settings here.

Get Programming Jabber now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.