Package: XMPP

## Documentation

Table of Contents
Class Inheritance Tree

## Index

Package: XMPP

- Goto spec source

# Description

    package Alog.Facilities.XMPP is

XMPP-Logging (jabber) facility. Send log-messages to a configured Jabber ID via a given jabber server. AWS must be installed for this facility to work.

# Classes

### Instance

- Goto declaration in source
- Goto full declaration in source

    type Instance is new Alog.Facilities.Instance with private;

#### Ancestors:

Alog.Facilities.Instance

#### Primitive operations:

Alog.Facilities.Setup

- To API doc
- To spec

(Inherited)
Alog.Facilities.Teardown

- To API doc
- To spec

(Inherited)
Set_Recipient

- To API doc
- To spec

Set_Sender

- To API doc
- To spec

Set_Server

- To API doc
- To spec

Write (overriding Alog.Facilities.Write)
XMPP based logging facility.

# Types

### Handle

- Goto declaration in source

    type Handle is access all Instance;

# Constants & Global variables

### No_Sender

- Goto declaration in source

    No_Sender             : exception;

No sender ID specified. Cannot send message.

### No_Recipient

- Goto declaration in source

    No_Recipient          : exception;

No recipient specified. Cannot send message.

### No_Server

- Goto declaration in source

    No_Server             : exception;

No server specified. Cannot send message.

### Recipient_Not_Present

- Goto declaration in source

    Recipient_Not_Present : exception;

Recipient can not be reached through specified server.

### Delivery_Failed

- Goto declaration in source

    Delivery_Failed       : exception;

Message could not be delivered.

# Subprograms & Entries

### Set_Sender

- Goto spec in source

    procedure Set_Sender (Facility: in out Instance;JID:        String;Password:        String);

Set sender for log messages. This procedure MUST be called before subsequent calls to Write_Message().

### Set_Recipient

- Goto spec in source

    procedure Set_Recipient (Facility: in out Instance;JID:        String);

Set recipient for log-messages. This procedure MUST be called before subsequent calls to Write_Message().

### Set_Server

- Goto spec in source

    procedure Set_Server (Facility: in out Instance;Name:        String);

Set server for log-messages. This procedure MUST be called before subsequent calls to Write_Message().