DTBonjourDataConnectionDelegate Protocol Reference
| Conforms to | NSObject | 
| Declared in | DTBonjourDataConnection.h | 
Instance Methods
connection:didFinishReceivingChunk:
Called after the connection did finish receiving a data chunk
- (void)connection:(DTBonjourDataConnection *)connection didFinishReceivingChunk:(DTBonjourDataChunk *)chunkParameters
- connection
 The connection
- chunk
 The chunk
Declared In
DTBonjourDataConnection.hconnection:didFinishSendingChunk:
Called after the connection did finish sending a data chunk
- (void)connection:(DTBonjourDataConnection *)connection didFinishSendingChunk:(DTBonjourDataChunk *)chunkParameters
- connection
 The connection
- chunk
 The chunk
Declared In
DTBonjourDataConnection.hconnection:didReceiveBytes:ofChunk:
Called multiple times while the the connection is receiving a data chunk
- (void)connection:(DTBonjourDataConnection *)connection didReceiveBytes:(NSUInteger)bytesReceived ofChunk:(DTBonjourDataChunk *)chunkParameters
- connection
 The connection
- bytesReceived
 The number of bytes received so far
- chunk
 The chunk
Declared In
DTBonjourDataConnection.hconnection:didReceiveObject:
Called when the connection did received and decode an object
- (void)connection:(DTBonjourDataConnection *)connection didReceiveObject:(id)objectParameters
- connection
 The connection
- object
 The decoded object that was received
Declared In
DTBonjourDataConnection.hconnection:didSendBytes:ofChunk:
Called multiple times while the the connection is sending a data chunk
- (void)connection:(DTBonjourDataConnection *)connection didSendBytes:(NSUInteger)bytesSent ofChunk:(DTBonjourDataChunk *)chunkParameters
- connection
 The connection
- bytesSent
 The number of bytes sent so far
- chunk
 The chunk
Declared In
DTBonjourDataConnection.hconnection:willStartReceivingChunk:
Called before the connection will start receiving a data chunk
- (void)connection:(DTBonjourDataConnection *)connection willStartReceivingChunk:(DTBonjourDataChunk *)chunkParameters
- connection
 The connection
- chunk
 The chunk
Declared In
DTBonjourDataConnection.hconnection:willStartSendingChunk:
Called before the connection will start sending a data chunk
- (void)connection:(DTBonjourDataConnection *)connection willStartSendingChunk:(DTBonjourDataChunk *)chunkParameters
- connection
 The connection
- chunk
 The chunk
Declared In
DTBonjourDataConnection.h