Index

Package: Alog.Facilities.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)

References:

alog-facilities-xmpp.ads:28:9 (declaration)
alog-facilities-xmpp.adb:32:25 (reference)
alog-facilities-xmpp.adb:43:25 (reference)
alog-facilities-xmpp.adb:56:25 (reference)
alog-facilities-xmpp.adb:67:18 (reference)
alog-facilities-xmpp.ads:31:30 (reference)
alog-facilities-xmpp.ads:34:25 (reference)
alog-facilities-xmpp.ads:41:25 (reference)
alog-facilities-xmpp.ads:47:25 (reference)
alog-facilities-xmpp.ads:71:18 (reference)
alog-facilities-xmpp.ads:83:9 (full declaration)
XMPP based logging facility.

Types

Handle

type Handle is access all Instance;

References:

alog-facilities-xmpp.ads:31:9 (declaration)

Constants & Global variables

No_Sender

No_Sender             : exception;

References:

alog-facilities-xmpp.ads:52:4 (declaration)
alog-facilities-xmpp.adb:76:16 (reference)
No sender ID specified. Cannot send message.

No_Recipient

No_Recipient          : exception;

References:

alog-facilities-xmpp.ads:55:4 (declaration)
alog-facilities-xmpp.adb:81:16 (reference)
No recipient specified. Cannot send message.

No_Server

No_Server             : exception;

References:

alog-facilities-xmpp.ads:58:4 (declaration)
alog-facilities-xmpp.adb:86:16 (reference)
No server specified. Cannot send message.

Recipient_Not_Present

Recipient_Not_Present : exception;

References:

alog-facilities-xmpp.ads:61:4 (declaration)
alog-facilities-xmpp.adb:106:19 (reference)
Recipient can not be reached through specified server.

Delivery_Failed

Delivery_Failed       : exception;

References:

alog-facilities-xmpp.ads:64:4 (declaration)
alog-facilities-xmpp.adb:123:19 (reference)
Message could not be delivered.

Subprograms & Entries

Set_Sender

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

References:

alog-facilities-xmpp.ads:33:14 (declaration)
alog-facilities-xmpp.adb:42:14 (body)
alog-facilities-xmpp.adb:51:8 (label)

Calls:

To_Unbounded_String defined at a-strunb.ads:57:13
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);

References:

alog-facilities-xmpp.ads:40:14 (declaration)
alog-facilities-xmpp.adb:31:14 (body)
alog-facilities-xmpp.adb:38:8 (label)

Calls:

To_Unbounded_String defined at a-strunb.ads:57:13
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);

References:

alog-facilities-xmpp.ads:46:14 (declaration)
alog-facilities-xmpp.adb:55:14 (body)
alog-facilities-xmpp.adb:62:8 (label)

Calls:

To_Unbounded_String defined at a-strunb.ads:57:13
Set server for log-messages. This procedure MUST be called before subsequent calls to Write_Message().