KaaDataChannel Protocol Reference
| Declared in | KaaDataChannel.h |
|---|
– syncForTransportType:
required method
Updates the channel’s state of the specific service.
- (void)syncForTransportType:(TransportType)typeDiscussion
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)syncAllDiscussion
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)typeDiscussion
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 *)getIdDiscussion
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>)demultiplexerDiscussion
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>)multiplexerDiscussion
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 *)getSupportedTransportTypesReturn 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)shutdownDiscussion
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)pauseDiscussion
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)resumeDiscussion
Resumes the channel’s workflow. The channel should restore previous connection.
Declared In
KaaDataChannel.h