Index

Package: XMPP

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

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

Ancestors:

Primitive operations:

Alog.Facilities.Setup (Inherited)
Alog.Facilities.Teardown (Inherited)
Set_Recipient
Write (overriding Alog.Facilities.Write)
XMPP based logging facility.

Types

Handle

type Handle is access all Instance;

Constants & Global variables

No_Sender

No_Sender             : exception;
No sender ID specified. Cannot send message.

No_Recipient

No_Recipient          : exception;
No recipient specified. Cannot send message.

No_Server

No_Server             : exception;
No server specified. Cannot send message.

Recipient_Not_Present

Recipient_Not_Present : exception;
Recipient can not be reached through specified server.

Delivery_Failed

Delivery_Failed       : exception;
Message could not be delivered.

Subprograms & Entries

Set_Sender

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

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

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().