1. /*
  2. * @(#)ORBVersion.java 1.10 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.spi.orb ;
  8. import org.omg.CORBA.portable.OutputStream ;
  9. public interface ORBVersion extends Comparable
  10. {
  11. byte FOREIGN = 0 ; // ORB from another vendor
  12. byte OLD = 1 ; // JDK 1.3.0 or earlier
  13. byte NEW = 2 ; // JDK 1.3.1 FCS
  14. byte JDK1_3_1_01 = 3; // JDK1_3_1_01 patch
  15. byte NEWER = 10 ; // JDK 1.4.x
  16. byte PEORB = 20 ; // PEORB in JDK 1.5, S1AS 8, J2EE 1.4
  17. byte getORBType() ;
  18. void write( OutputStream os ) ;
  19. public boolean lessThan( ORBVersion version ) ;
  20. }