/*
 *     Generated by class-dump 3.0.
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004 by Steve Nygard.
 */

#import "NSObject.h"

@class NSMutableData, NSTimer;

@interface SocketStream : NSObject
{
    struct __CFReadStream *_in;
    struct __CFWriteStream *_out;
    struct {
        int version;
        void *info;
        void *retain;
        void *release;
        void *copyDescription;
    } _streamCallbackContext;
    char *_readBuffer;
    NSMutableData *_outBuffer;
    BOOL _inOpened;
    BOOL _outOpened;
    BOOL _closing;
    struct __CFHTTPMessage *_httpResponse;
    double _connectTimeout;
    NSTimer *_connectTimer;
}

- (id)init;
- (void)dealloc;
- (void)setConnectTimeout:(double)fp8;
- (CDAnonymousStruct2)connectToHost:(id)fp8 port:(unsigned short)fp12 security:(struct __CFString *)fp16;
- (CDAnonymousStruct2)connectToHTTPURL:(id)fp8 method:(id)fp12 extraHeaders:(id)fp16;
- (CDAnonymousStruct2)connectToSocket:(int)fp8;
- (CDAnonymousStruct2)_finishConnecting:(BOOL)fp8;
- (void)_stopConnectionTimer;
- (void)_connectTimedOut;
- (void)disconnect;
- (void)close;
- (void)_finishClosing;
- (struct __CFReadStream *)inputStream;
- (struct __CFWriteStream *)outputStream;
- (CDAnonymousStruct2)inputError;
- (CDAnonymousStruct2)outputError;
- (BOOL)inputOpened;
- (BOOL)outputOpened;
- (id)valueOfResponseHeader:(id)fp8;
- (void)_errorOccurred:(void *)fp8;
- (void)errorOccurred:(CDAnonymousStruct2)fp8 onStream:(void *)fp16;
- (void)_openCompleted:(void *)fp8;
- (void)openCompleted:(void *)fp8;
- (void)dataReceived:(id)fp8;
- (void)EOFReached;
- (void)_dataReceived;
- (long)_writeFromBuffer;
- (BOOL)writeData:(id)fp8;
- (BOOL)isReadyForData;
- (void)pleaseSendMoreData;
- (void)_canAcceptBytes;

@end

