ChatLog



Abstract

A class encapsulating the log of an XMPP chat.

Discussion

The ChatLog class supports two log formats; an XML format which stores the message in a form identical to that defined by XMPP, and a RTF format, which allows the messages to be easily used in NSText subclasses.

Methods

chatLogWithPerson:withJid:

Abstract: Returns a ChatLog for the specified person.
+ (id)chatLogWithPerson:(NSString*)_name withJid:(JID*)_jid; 

Parameters

NameDescription
_nameThe roster name of the remote entity.
_jidThe JID of the remote entity.

setDefaultPath:

Abstract: Sets the base path in which log files are created.
+ (void)setDefaultPath:(NSString*)_path; 

This method should not be called after the creation of any ChatLog objects. The behaviour in this case is undefined.

Parameters

NameDescription
_pathThe path in which log files are stored.

(Last Updated 11/26/2004)