Package unlimited.fc.client.engine
Class UseTCPACKSCache
- java.lang.Object
-
- unlimited.fc.client.engine.UseTCPACKSCache
-
public class UseTCPACKSCache extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classUseTCPACKSCache.DetectedValueThis class tracks if useTCPACKS have either been set or successfully detected.
-
Constructor Summary
Constructors Constructor Description UseTCPACKSCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetect(FCClientEngine engine)this will try to detect if we should use TCPACKS we will no longer try to detect if we do so successfully.voidforceSet(FCClientEngine engine, boolean useTCPACKS)overrides all checks and forces the useage of TCPACKSbooleanisUseTCPACKS(FCClientEngine engine)voidset(FCClientEngine engine, boolean useTCPACKS)Set the value if it has not already been set or detected
-
-
-
Method Detail
-
isUseTCPACKS
public boolean isUseTCPACKS(FCClientEngine engine)
- Parameters:
engine- the FCClientEngine that is checking if we are using TCPACKS- Returns:
- true if we are using TCPACKS
-
set
public void set(FCClientEngine engine, boolean useTCPACKS)
Set the value if it has not already been set or detected- Parameters:
engine- the engine requesting a setisUseTCPACKS-
-
forceSet
public void forceSet(FCClientEngine engine, boolean useTCPACKS)
overrides all checks and forces the useage of TCPACKS- Parameters:
isUseTCPACKS-
-
detect
public void detect(FCClientEngine engine)
this will try to detect if we should use TCPACKS we will no longer try to detect if we do so successfully.- Parameters:
engine- the engine doing the test
-
-