-
public class MeshConnectBuilderauthor : 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 classMeshConnectBuilder.Builder
-
Field Summary
Fields Modifier and Type Field Description private final SigMeshBeansigMeshBeanprivate final List<String>devIdListprivate final longscanTimeoutprivate final intttlprivate intconnectStrategyprivate final StringnodeIdprivate final List<out SearchDeviceBean>searchDeviceBeansprivate final MeshConnectStatusListenerlistener
-
Method Summary
Modifier and Type Method Description SigMeshBeangetSigMeshBean()List<String>getDevIdList()longgetScanTimeout()intgetTTL()intgetConnectStrategy()voidsetConnectStrategy(int connectStrategy)StringgetNodeId()List<out SearchDeviceBean>getSearchDeviceBeans()MeshConnectStatusListenergetListener()StringgetMeshId()-
-
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()
-
-
-
-