1. /*
  2. * @(#)ORBVersion.java 1.8 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.internal.core ;
  8. import org.omg.CORBA.portable.OutputStream ;
  9. public interface ORBVersion extends Comparable {
  10. /**
  11. * ORB from another vendor.
  12. */
  13. byte FOREIGN = 0 ;
  14. /**
  15. * JDK 1.3.0 or earlier.
  16. */
  17. byte OLD = 1 ;
  18. /**
  19. * JDK 1.3.1 FCS.
  20. */
  21. byte NEW = 2 ;
  22. /**
  23. * JDK 1.3.1_01 patch.
  24. */
  25. byte JDK1_3_1_01 = 3;
  26. /**
  27. * JDK 1.4.0 or later.
  28. */
  29. byte NEWER = 10 ;
  30. byte getORBType() ;
  31. void write( OutputStream os ) ;
  32. }