-
public class ConnectOpt
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
ConnectOpt.Builder
-
Field Summary
Fields Modifier and Type Field Description public final static int
CONNECT_TYPE_NORMAL
public final static int
CONNECT_TYPE_ACTIVATOR
public final static int
CONNECT_TYPE_PRECONNECT
public final static int
SECURITY_LEVEL_OLD
public final static int
SECURITY_LEVEL_OLD_NEED_UPDATE
public final static int
SECURITY_LEVEL_NEW
private String
address
private long
timeout
private int
connectType
private long
phyConnectTimeout
private int
securityLevel
private ProtocolRequestDelegate
delegate
-
Method Summary
Modifier and Type Method Description String
getAddress()
long
getTimeout()
int
getConnectType()
long
getPhyConnectTimeout()
int
getSecurityLevel()
ProtocolRequestDelegate
getDelegate()
String
toString()
boolean
isNewSecurity()
boolean
isSecurityNeedUpdate()
void
backupToDefault()
void
updateToNew()
boolean
isOldSecurity()
void
updatePreConnectToNormal(int newType)
-
-
Method Detail
-
getAddress
String getAddress()
-
getTimeout
long getTimeout()
-
getConnectType
int getConnectType()
-
getPhyConnectTimeout
long getPhyConnectTimeout()
-
getSecurityLevel
int getSecurityLevel()
-
getDelegate
ProtocolRequestDelegate getDelegate()
-
toString
String toString()
-
isNewSecurity
boolean isNewSecurity()
-
isSecurityNeedUpdate
boolean isSecurityNeedUpdate()
-
backupToDefault
void backupToDefault()
-
updateToNew
void updateToNew()
-
isOldSecurity
boolean isOldSecurity()
-
updatePreConnectToNormal
void updatePreConnectToNormal(int newType)
-
-
-
-