Skip to content

SRRoomConn

Ju Liaoyuan edited this page Dec 20, 2022 · 1 revision

SRRoomConn Class Reference

  Inherits from NSObject
  Declared in SRRoomConn.h

SRRoomConn.m

Tasks

– updateConfigWithModel:

– stopPollingTimer

– msgSubject

– sendMessageWithModel:

– giftRewardWithModel:

Instance Methods

giftRewardWithModel:

TODO: self.configModel.productConfig.imConfig.imSendType == 2

- (RACSignal *)giftRewardWithModel:(SRGiftRewardModel *)*model*

Discussion

TODO: self.configModel.productConfig.imConfig.imSendType == 2

Declared In

  • SRRoomConn.m

msgSubject

透传消息接口 发送: RACTuple 接收方式: RACTupleUnpack(NSNumber *type, id msg) = tuple;

- (RACSubject *)msgSubject

Discussion

透传消息接口 发送: RACTuple 接收方式: RACTupleUnpack(NSNumber *type, id msg) = tuple;

Declared In

  • SRRoomConn.h

sendMessageWithModel:

发送消息

- (RACSignal *)sendMessageWithModel:(SRMsgSendModel *)*model*

Parameters

model
   消息模型

Return Value

resp 回调

Discussion

发送消息

Declared In

  • SRRoomConn.h

stopPollingTimer

停止幂等轮询

- (void)stopPollingTimer

Discussion

停止幂等轮询

Declared In

  • SRRoomConn.h

updateConfigWithModel:

更新配置

- (void)updateConfigWithModel:(SNConfigModel *)*model*

Discussion

更新配置

Declared In

  • SRRoomConn.h
Clone this wiki locally