License of "TOGETHER Control Center 6.0" // ---------------------------------------------- ------------------------------- // file: license.javaPackage flexlm; import java.io.printStream; Public Class License {public license (String S, INT I, INT J, INT K, INT L, INT I1, INT J1) {Say ("Hack liqunce: s ": " i ": " J " : " K ": " L ": " i1 ": " J1);} Public Int Checkout (Int i, String S, String S1, Int J, String S2) {SAY (" HACK Checkout : " I ": " S ": " S1 ": " J ": " S2); Return 0;} public void checkin () {SAY (" HACK CHECKIN: LAST "); PUBLIC INT HeartBeat (Int Ai [], INT I) {SAY ("Hack Hartbeat: OK"); Return 0; PUBLIC Boolean OK () {SAY ("Hack OK: OK"); Return True;} Public String GET_ERRSTRING () {return null;} public string warning () {return null;} public int GET_MAJOR_ERRCODE () {return 0;} public int GET_MIN or_errcode () {return 0;} public String getUsername () {return "JavaUser";} public String getHostname () {return "JavaHost";} public String getDisplay () {return "";} protected void say (String s) {Try {system.out.println ("" system.currenttimemillis () ":" S "/ r / n");
} Catch (Exception Exception) {}}} // ----------------------- Source code end ------------- ---------------------------------- Description: To patch to pathersoft "together Control Center 6.0" Do The FOLLOWING: 0 Download Togther6.0's address http://downloads.togethersoft.com/1968v9/windows/vm/together_1968v9.exe1. Compile this file and will create "flexlm / license.class" 2. Copy TGH / LIB / TOGETHER. JAR To TGH / LIB / TOGETHER.JAR.RIGINAL3. Open TGH / LIB / TOGETHER. JAR IN WINZIP4. SELECT "flexlm" Directory and Drag-N-DROP IN WINZIP WINDOW THIS WILL Add THE FLEXLM / LICENSE.CLASS to the TOGETHER .jar5. Modify TGH / config / flexlm.config to point to a license server "localhost" and the feature TogetherControlCenterFloating flexlm.feature = TogetherControlCenterFloating flexlm.licensePath = @ localhost6. Modify TGH / config / server.config to enable flexlm license.use_flexlm =