ObjXMPP  Check-in [220daa147d]

Overview
Comment:Use OF_SETTER/OF_GETTER.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 220daa147dc1d92e6c253dbb635e1e4a4e6e9a14c566d708f0cf32a714ed50bb
User & Date: js on 2012-01-04 22:25:59
Other Links: manifest | tags
Context
2012-01-06
19:18
Merge XMPP*Callback into a single class check-in: 0b4222d5e4 user: florob@babelmonkeys.de tags: trunk
2012-01-04
22:25
Use OF_SETTER/OF_GETTER. check-in: 220daa147d user: js tags: trunk
2012-01-01
02:42
Add capability to register callbacks when sending IQs check-in: 9815ad146d user: florob@babelmonkeys.de tags: trunk
Changes

Modified src/XMPPAuthenticator.m from [e5f2fd7299] to [24df938575].

37
38
39
40
41
42
43

44
45
46




47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105

- initWithAuthzid: (OFString*)authzid_
	  authcid: (OFString*)authcid_
	 password: (OFString*)password_
{
	self = [super init];


	[self setAuthzid: authzid_];
	[self setAuthcid: authcid_];
	[self setPassword: password_];





	return self;
}

- (void)dealloc
{
	[authzid release];
	[authcid release];
	[password release];

	[super dealloc];
}

- (void)setAuthzid: (OFString*)authzid_
{
	OFString *old = authzid;
	authzid = [authzid_ copy];
	[old release];
}

- (OFString*)authzid
{
	return [[authzid copy] autorelease];
}

- (void)setAuthcid: (OFString*)authcid_
{
	OFString *old = authcid;
	authcid = [authcid_ copy];
	[old release];
}

- (OFString*)authcid
{
	return [[authcid copy] autorelease];
}

- (void)setPassword: (OFString*)password_
{
	OFString *old = password;
	password = [password_ copy];
	[old release];
}

- (OFString*)password
{
	return [[password copy] autorelease];
}

- (OFDataArray*)initialMessage
{
	return nil;
}

- (OFDataArray*)continueWithData: (OFDataArray*)challenge
{
	return nil;
}
@end







>
|
|
|
>
>
>
>















|
<
<




|




|
<
<




|




|
<
<




|












37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67


68
69
70
71
72
73
74
75
76
77


78
79
80
81
82
83
84
85
86
87


88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104

- initWithAuthzid: (OFString*)authzid_
	  authcid: (OFString*)authcid_
	 password: (OFString*)password_
{
	self = [super init];

	@try {
		authzid = [authzid_ copy];
		authcid = [authcid_ copy];
		password = [password_ copy];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}

- (void)dealloc
{
	[authzid release];
	[authcid release];
	[password release];

	[super dealloc];
}

- (void)setAuthzid: (OFString*)authzid_
{
	OF_SETTER(authzid, authzid_, YES, YES)


}

- (OFString*)authzid
{
	OF_GETTER(authzid, YES)
}

- (void)setAuthcid: (OFString*)authcid_
{
	OF_SETTER(authcid, authcid_, YES, YES)


}

- (OFString*)authcid
{
	OF_GETTER(authcid, YES)
}

- (void)setPassword: (OFString*)password_
{
	OF_SETTER(password, password_, YES, YES)


}

- (OFString*)password
{
	OF_GETTER(password, YES)
}

- (OFDataArray*)initialMessage
{
	return nil;
}

- (OFDataArray*)continueWithData: (OFDataArray*)challenge
{
	return nil;
}
@end