com.sun.xml.ws.transport.tcp.util
Class VersionController

java.lang.Object
  extended by com.sun.xml.ws.transport.tcp.util.VersionController

public final class VersionController
extends java.lang.Object


Method Summary
 Version getClosestSupportedConnectionManagementVersion(Version connectionManagementVersion)
          Method returns closest to given connection management version, which current implementation supports
 Version getClosestSupportedFramingVersion(Version framingVersion)
          Method returns closest to given framing version, which current implementation supports
 Version getConnectionManagementVersion()
           
 Version getFramingVersion()
           
static VersionController getInstance()
           
 boolean isVersionSupported(Version framingVersion, Version connectionManagementVersion)
          Method checks compatibility of server and client versions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


getClosestSupportedConnectionManagementVersion

public Version getClosestSupportedConnectionManagementVersion(Version connectionManagementVersion)
Method returns closest to given connection management version, which current implementation supports