Differences From Artifact [82b4f2ceb5]:
- File src/XMPPConnection.m — part of check-in [31846fcc3b] at 2011-04-01 02:23:18 on branch trunk — Add -[parseBuffer:withSize:] to XMPPConnection. (user: js, size: 16524) [annotate] [blame] [check-ins using]
To Artifact [08a8e3a88e]:
- File src/XMPPConnection.m — part of check-in [9e5a047eec] at 2011-04-01 02:26:54 on branch trunk — Add -[socket] to XMPPConnection. (user: js, size: 16589) [annotate] [blame] [check-ins using]
︙ | |||
235 236 237 238 239 240 241 242 243 244 245 246 247 248 | 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 | + + + + + | if (size < 1 && [delegate respondsToSelector: @selector(connectionWasClosed:)]) [delegate connectionWasClosed: self]; [parser parseBuffer: buf withSize: size]; } - (OFTCPSocket*)socket { return [[sock retain] autorelease]; } - (void)sendStanza: (OFXMLElement*)elem { of_log(@"Out: %@", elem); [sock writeString: [elem XMLString]]; } |
︙ |