@implementation JubChatClient
@synthesize connection;
@synthesize roster;
+@synthesize contactManager;
@synthesize presence;
@synthesize ui;
roster = [[XMPPRoster alloc] initWithConnection: connection];
[roster addDelegate: self];
+ contactManager = [[XMPPContactManager alloc]
+ initWithConnection: connection
+ roster: roster];
+
streamManagement = [[XMPPStreamManagement alloc]
initWithConnection: connection];
- (void)dealloc
{
[roster release];
+ [contactManager release];
[streamManagement release];
[connection release];
[presence release];