Tuya iOS Smart Life App SDK 5.15.0
<ThingSmartSocketChannelDelegate> Protocol Reference

#import <ThingSmartSocketChannel.h>

Inheritance diagram for <ThingSmartSocketChannelDelegate>:

Instance Methods

(void) - socketDidTcpConnected:devId:
 
(void) - socket:didReceiveTcpData:tag:devId:
 
(void) - socketDidTcpDisconnect:devId:error:
 
(void) - socket:didReceiveUdpData:
 
(void) - socketDidUdpClose:error:
 
(void) - socketDidUdpClose:port:error:
 
(void) - socketDidTcpConnected:devId:
 
(void) - socket:didReceiveTcpData:tag:devId:
 
(void) - socketDidTcpDisconnect:devId:error:
 
(void) - socket:didReceiveUdpData:
 
(void) - socketDidUdpClose:error:
 
(void) - socketDidUdpClose:port:error:
 

Detailed Description

Definition at line 60 of file ThingSmartSocketChannel.h.

Method Documentation

◆ socket:didReceiveTcpData:tag:devId: [1/2]

- (void) socket: (ThingSmartSocketChannel *)  socket
didReceiveTcpData: (ThingSmartSocketReadModel *)  tcpData
tag: (long)  tag
devId: (NSString *)  devId 
optional

◆ socket:didReceiveTcpData:tag:devId: [2/2]

- (void) socket: (ThingSmartSocketChannel *)  socket
didReceiveTcpData: (ThingSmartSocketReadModel *)  tcpData
tag: (long)  tag
devId: (NSString *)  devId 
optional

◆ socket:didReceiveUdpData: [1/2]

- (void) socket: (ThingSmartSocketChannel *)  socket
didReceiveUdpData: (ThingSmartSocketReadModel *)  udpData 
optional

◆ socket:didReceiveUdpData: [2/2]

- (void) socket: (ThingSmartSocketChannel *)  socket
didReceiveUdpData: (ThingSmartSocketReadModel *)  udpData 
optional

◆ socketDidTcpConnected:devId: [1/2]

- (void) socketDidTcpConnected: (ThingSmartSocketChannel *)  socket
devId: (NSString *)  devId 
optional

◆ socketDidTcpConnected:devId: [2/2]

- (void) socketDidTcpConnected: (ThingSmartSocketChannel *)  socket
devId: (NSString *)  devId 
optional

◆ socketDidTcpDisconnect:devId:error: [1/2]

- (void) socketDidTcpDisconnect: (ThingSmartSocketChannel *)  socket
devId: (NSString *)  devId
error: (NSError *)  error 
optional

◆ socketDidTcpDisconnect:devId:error: [2/2]

- (void) socketDidTcpDisconnect: (ThingSmartSocketChannel *)  socket
devId: (NSString *)  devId
error: (NSError *)  error 
optional

◆ socketDidUdpClose:error: [1/2]

- (void) socketDidUdpClose: (ThingSmartSocketChannel *)  socket
error: (NSError *)  error 
optional

◆ socketDidUdpClose:error: [2/2]

- (void) socketDidUdpClose: (ThingSmartSocketChannel *)  socket
error: (NSError *)  error 
optional

◆ socketDidUdpClose:port:error: [1/2]

- (void) socketDidUdpClose: (ThingSmartSocketChannel *)  socket
port: (NSInteger)  port
error: (NSError *)  error 
optional

◆ socketDidUdpClose:port:error: [2/2]

- (void) socketDidUdpClose: (ThingSmartSocketChannel *)  socket
port: (NSInteger)  port
error: (NSError *)  error 
optional

The documentation for this protocol was generated from the following files: