ObjXMPP  Check-in [6c757fb3c0]

Overview
Comment:Add convenience header and method.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6c757fb3c0623ce762f4a32d67a6ab8ba8e924ceccb61985ae5284aa6dbeaef0
User & Date: js on 2011-04-01 01:14:19
Other Links: manifest | tags
Context
2011-04-01
02:23
Add -[parseBuffer:withSize:] to XMPPConnection. check-in: 31846fcc3b user: js tags: trunk
01:14
Add convenience header and method. check-in: 6c757fb3c0 user: js tags: trunk
01:09
Change how roster items are stored. check-in: e53970f55f user: js tags: trunk
Changes

Modified src/Makefile from [b181cca38a] to [9b32c5a165].

14
15
16
17
18
19
20
21

22
23
24
25
       XMPPPLAINAuth.m		\
       XMPPPresence.m		\
       XMPPRoster.m		\
       XMPPRosterItem.m		\
       XMPPSCRAMAuth.m		\
       XMPPStanza.m

INCLUDES = ${SRCS:.m=.h}


include ../buildsys.mk

LD = ${OBJC}







|
>




14
15
16
17
18
19
20
21
22
23
24
25
26
       XMPPPLAINAuth.m		\
       XMPPPresence.m		\
       XMPPRoster.m		\
       XMPPRosterItem.m		\
       XMPPSCRAMAuth.m		\
       XMPPStanza.m

INCLUDES = ${SRCS:.m=.h}	\
	   ObjXMPP.h

include ../buildsys.mk

LD = ${OBJC}

Added src/ObjXMPP.h version [fed9dcdd1f].

Modified src/XMPPConnection.h from [0ccafcf867] to [ae3d7030e1].

85
86
87
88
89
90
91


92
93
94
95
96
97
98
#ifdef OF_HAVE_PROPERTIES
@property (copy) OFString *username, *password, *server, *resource;
@property (copy, readonly) XMPPJID *JID;
@property (assign) uint16_t port;
@property (retain) id <XMPPConnectionDelegate> delegate;
@property (readonly, retain) XMPPRoster *roster;
#endif



/**
 * Connects to the XMPP service.
 */
- (void)connect;

/**







>
>







85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#ifdef OF_HAVE_PROPERTIES
@property (copy) OFString *username, *password, *server, *resource;
@property (copy, readonly) XMPPJID *JID;
@property (assign) uint16_t port;
@property (retain) id <XMPPConnectionDelegate> delegate;
@property (readonly, retain) XMPPRoster *roster;
#endif

+ connection;

/**
 * Connects to the XMPP service.
 */
- (void)connect;

/**

Modified src/XMPPConnection.m from [8c6dc2da09] to [9566d5c99c].

39
40
41
42
43
44
45





46
47
48
49
50
51
52
#import "XMPPMessage.h"
#import "XMPPPresence.h"
#import "XMPPRoster.h"
#import "XMPPRosterItem.h"
#import "XMPPExceptions.h"

@implementation XMPPConnection





- init
{
	self = [super init];

	@try {
		sock = [[OFTCPSocket alloc] init];
		parser = [[OFXMLParser alloc] init];







>
>
>
>
>







39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#import "XMPPMessage.h"
#import "XMPPPresence.h"
#import "XMPPRoster.h"
#import "XMPPRosterItem.h"
#import "XMPPExceptions.h"

@implementation XMPPConnection
+ connection
{
	return [[[self alloc] init] autorelease];
}

- init
{
	self = [super init];

	@try {
		sock = [[OFTCPSocket alloc] init];
		parser = [[OFXMLParser alloc] init];