Differences From Artifact [b0ffeb590a]:
- File
src/XMPPStreamManagement.m
— part of check-in
[a618f77f45]
at
2012-08-10 12:08:23
on branch trunk
— Add very basic Stream Management (XEP-0198) support
This implementation only counts incomming stanzas and
sends ACKs on request.
While basic this already allows servers to write
messages to offline storage that were sent to,
but never received by a client. (user: js, size: 2844) [annotate] [blame] [check-ins using]
To Artifact [fbee9ca5ca]:
- File src/XMPPStreamManagement.m — part of check-in [8dfcb87717] at 2013-02-12 21:36:39 on branch trunk — Prefix all ivars with an underscore. (user: js, size: 2847) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
25 26 27 28 29 30 31 | @implementation XMPPStreamManagement - initWithConnection: (XMPPConnection*)connection_ { self = [super init]; @try { | | | | | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | @implementation XMPPStreamManagement - initWithConnection: (XMPPConnection*)connection_ { self = [super init]; @try { _connection = connection_; [_connection addDelegate: self]; receivedCount = 0; } @catch (id e) { [self release]; @throw e; } return self; } - (void)dealloc { [_connection removeDelegate: self]; [super dealloc]; } - (void)connection: (XMPPConnection*)connection_ didReceiveElement: (OFXMLElement*)element { |
︙ | ︙ |