DataStream Class Reference

Inherits from NSObject
Declared in data_stream.h
data_stream.mm

Overview

DataStream Object

– send:isBinary:

Send data through DataStream

- (void)send:(NSData *)message isBinary:(BOOL)binary

Parameters

(NSData)

message. Data to send.

(BOOL)

binary. Binary flag. Set to false for a string.

Discussion

Send data through DataStream

Declared In

data_stream.h

– send:

Send data through DataStream

- (void)send:(NSString *)message

Parameters

(NSString)

message. String data to send.

Discussion

Send data through DataStream

Declared In

data_stream.h

– getLabel

Get DataStream label

- (NSString *)getLabel

Return Value

(NSString) the label.

Discussion

Get DataStream label

Declared In

data_stream.h

– getStatus

Get the status of DataStream

- (Status)getStatus

Return Value

(Status) of this DataStream

Discussion

Get the status of DataStream

Declared In

data_stream.h

– close

Close DataStream

- (void)close

Discussion

Close DataStream

Declared In

data_stream.h