DefaultOperationTcpChannel Class Reference

Inherits from NSObject
Conforms to KaaDataChannel
Declared in DefaultOperationTcpChannel.h
DefaultOperationTcpChannel.m

– syncForTransportType:

Updates the channel’s state of the specific service.

- (void)syncForTransportType:(TransportType)type

Discussion

Updates the channel’s state of the specific service.

Declared In

KaaDataChannel.h

– syncAll

Updates the channel’s state of all supported services.

- (void)syncAll

Discussion

Updates the channel’s state of all supported services.

Declared In

KaaDataChannel.h

– syncAckForTransportType:

Notifies channel about successful acknowledgment of the sync only in case if smth change.

- (void)syncAckForTransportType:(TransportType)type

Discussion

Notifies channel about successful acknowledgment of the sync only in case if smth change.

Declared In

KaaDataChannel.h

– setDemultiplexer:

Sets the response demultiplexer for this channel.

- (void)setDemultiplexer:(id<KaaDataDemultiplexer>)demultiplexer

Discussion

Sets the response demultiplexer for this channel.

Declared In

KaaDataChannel.h

– setMultiplexer:

Sets the request multiplexer for this channel.

- (void)setMultiplexer:(id<KaaDataMultiplexer>)multiplexer

Discussion

Sets the request multiplexer for this channel.

Declared In

KaaDataChannel.h

– shutdown

Shuts down the channel instance. All connections and threads should be terminated. The instance can no longer be used.

- (void)shutdown

Discussion

Shuts down the channel instance. All connections and threads should be terminated. The instance can no longer be used.

Declared In

KaaDataChannel.h

– pause

Pauses the channel’s workflow. The channel should stop all network activity.

- (void)pause

Discussion

Pauses the channel’s workflow. The channel should stop all network activity.

Declared In

KaaDataChannel.h

– resume

Resumes the channel’s workflow. The channel should restore previous connection.

- (void)resume

Discussion

Resumes the channel’s workflow. The channel should restore previous connection.

Declared In

KaaDataChannel.h

– getId

Retrieves the channel’s id. It should be unique in existing channels scope.

- (NSString *)getId

Discussion

Retrieves the channel’s id. It should be unique in existing channels scope.

Declared In

KaaDataChannel.h

– getSupportedTransportTypes

Retrieves dictionary of transport types and their directions supported by this channel.

- (NSDictionary *)getSupportedTransportTypes

Return Value

Dictionary with <TransportType, ChannelDirection> as key-value wrapped in NSNumber

Discussion

Retrieves dictionary of transport types and their directions supported by this channel.

Declared In

KaaDataChannel.h