KaaDataChannel Protocol Reference
Declared in | KaaDataChannel.h |
---|
– syncForTransportType:
required method
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
required method
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:
required method
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
– getId
required method
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
– setDemultiplexer:
required method
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:
required method
Sets the request multiplexer for this channel.
- (void)setMultiplexer:(id<KaaDataMultiplexer>)multiplexer
Discussion
Sets the request multiplexer for this channel.
Declared In
KaaDataChannel.h
– getSupportedTransportTypes
required method
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
– shutdown
required method
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
required method
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
required method
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