BLIP/BLIPWriter.h
author Jens Alfke <jens@mooseyard.com>
Wed May 06 09:21:57 2009 -0700 (2009-05-06)
changeset 44 d8a559a39284
parent 11 29e8b03c05d4
permissions -rw-r--r--
* Merged part of Jim Roepke's changes -- the MYAddressLookup fixes and updated iPhone project.
* Changed API of Jim Roepke's TCPListener improvement (made it a settable property, not a method to override.)
* Added more types to .hgignore.
     1 //
     2 //  BLIPFrameWriter.h
     3 //  MYNetwork
     4 //
     5 //  Created by Jens Alfke on 5/18/08.
     6 //  Copyright 2008 Jens Alfke. All rights reserved.
     7 //
     8 
     9 #import "TCPWriter.h"
    10 @class BLIPRequest, BLIPResponse, BLIPMessage;
    11 
    12 
    13 /** INTERNAL class that sends BLIP frames over the socket. */
    14 @interface BLIPWriter : TCPWriter
    15 {
    16     @private
    17     NSMutableArray *_outBox;
    18     UInt32 _numRequestsSent;
    19 }
    20 
    21 - (BOOL) sendRequest: (BLIPRequest*)request response: (BLIPResponse*)response;
    22 - (BOOL) sendMessage: (BLIPMessage*)message;
    23 
    24 @property (readonly) UInt32 numRequestsSent;
    25 
    26 @end