code: public ProtocolVersion getVersion() 
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "getVersion");
      
      // The ProtocolVersion to be returned
      ProtocolVersion version = ProtocolVersion.UNKNOWN;
      // Get the MetaData out of the connection
      ConnectionMetaData connMetaData = connection.getMetaData();
      
      // If the MetaData is non-null we can retrieve a version.
      if(connMetaData != null)
        version = connMetaData.getProtocolVersion();
      
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "getVersion", version);
    
      return version;
    }
docs: Retrieve the ProtocolVersion associated with this connection.
  
  @return the version of the connection protocol.