-
public class MeshConnectBuilder
author : yuzhouxu date : 2021/10/18 19:40 description : author : linpanpan date : 2022/9/7
This class is used to connect Mesh! When the sigMeshBean is not null, it uses to connect a exist SigMesh! Otherwise, it is used to connect a device to pre-control
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
MeshConnectBuilder.Builder
-
Field Summary
Fields Modifier and Type Field Description private final SigMeshBean
sigMeshBean
private final List<String>
devIdList
private final long
scanTimeout
private final int
ttl
private int
connectStrategy
private final String
nodeId
private final List<out SearchDeviceBean>
searchDeviceBeans
private final MeshConnectStatusListener
listener
-
Method Summary
Modifier and Type Method Description SigMeshBean
getSigMeshBean()
List<String>
getDevIdList()
long
getScanTimeout()
int
getTTL()
int
getConnectStrategy()
void
setConnectStrategy(int connectStrategy)
String
getNodeId()
List<out SearchDeviceBean>
getSearchDeviceBeans()
MeshConnectStatusListener
getListener()
String
getMeshId()
-
-
Method Detail
-
getSigMeshBean
SigMeshBean getSigMeshBean()
-
getDevIdList
List<String> getDevIdList()
-
getScanTimeout
long getScanTimeout()
-
getTTL
int getTTL()
-
getConnectStrategy
int getConnectStrategy()
-
setConnectStrategy
void setConnectStrategy(int connectStrategy)
-
getNodeId
String getNodeId()
-
getSearchDeviceBeans
List<out SearchDeviceBean> getSearchDeviceBeans()
-
getListener
MeshConnectStatusListener getListener()
-
getMeshId
String getMeshId()
-
-
-
-