IOS Streaming Browser 1.0
An IOS streaming browser to stream the display to others or to a projector

GCDAsyncWritePacket Class Reference

Collaboration diagram for GCDAsyncWritePacket:

Public Member Functions

(id) - initWithData:timeout:tag:

Data Fields

NSDatabuffer
NSUInteger bytesDone
long tag
NSTimeInterval timeout

Detailed Description

The GCDAsyncWritePacket encompasses the instructions for any given write.

Definition at line 1316 of file GCDAsyncSocket.m.


Member Function Documentation

- (id) initWithData: (NSData *)  d
timeout: (NSTimeInterval)  t
tag: (long)  i 

Initialize the GCDAsyncWritePacket with timeout ang tag

param NSData param NSTimeInterval param long returns self

Initialize the GCDAsyncWritePacket with timeout ang tag returns self

param NSData param NSTimeInterval param long returns self

Definition at line 1366 of file GCDAsyncSocket.m.

                  :(NSData *)d timeout:(NSTimeInterval)t tag:(long)i
{
        if((self = [super init]))
        {
                buffer = [d retain]; // the write buffer
        
                bytesDone = 0; // number of bytes that have been written so far for the write operation
        
                timeout = t; // the write response timeout
                tag = i;
        }
        return self;
}

Field Documentation

- (NSData*) buffer

write buffer

Definition at line 1322 of file GCDAsyncSocket.m.

- (NSUInteger) bytesDone

number of bytes that have been written so far for the write operation

Definition at line 1327 of file GCDAsyncSocket.m.

- (long) tag

Definition at line 1332 of file GCDAsyncSocket.m.

- (NSTimeInterval) timeout

The timeout value for writing to a host

Definition at line 1337 of file GCDAsyncSocket.m.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines