Class VersionController
- java.lang.Object
-
- com.sun.xml.ws.transport.tcp.util.VersionController
-
public final class VersionController extends Object
- Author:
- Alexey Stashok
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VersiongetClosestSupportedConnectionManagementVersion(Version connectionManagementVersion)Method returns closest to given connection management version, which current implementation supportsVersiongetClosestSupportedFramingVersion(Version framingVersion)Method returns closest to given framing version, which current implementation supportsVersiongetConnectionManagementVersion()VersiongetFramingVersion()static VersionControllergetInstance()booleanisVersionSupported(Version framingVersion, Version connectionManagementVersion)Method checks compatibility of server and client versions
-
-
-
Method Detail
-
getInstance
public static VersionController getInstance()
-
getFramingVersion
public Version getFramingVersion()
-
getConnectionManagementVersion
public Version getConnectionManagementVersion()
-
isVersionSupported
public boolean isVersionSupported(Version framingVersion, Version connectionManagementVersion)
Method checks compatibility of server and client versions
-
getClosestSupportedFramingVersion
public Version getClosestSupportedFramingVersion(Version framingVersion)
Method returns closest to given framing version, which current implementation supports
-
-