Package org.omg.GIOP

Examples of org.omg.GIOP.Version


    private Profile createMockProfile( int majorVersion, int minorVersion )
    {
        MockControl profileControl = MockControl.createControl( Profile.class );
        Profile profile = (Profile) profileControl.getMock();
        profile.version();
        profileControl.setReturnValue( new Version( (byte) majorVersion, (byte) minorVersion ) );
        profileControl.replay();
        return profile;
    }
View Full Code Here


    */
   public void configure (Configuration configuration) throws ConfigurationException
   {
      super.configure (configuration);

      profile = new MIOPProfile ("225.0.0.1", (short)10925, "default", 1, new Version ((byte)1,
               (byte)0), 1, null);
   }
View Full Code Here

      if (iiop != null)
      {
         list.addAll (iiop.getComponents ());
      }

      this.uipmc = new UIPMC_ProfileBody (new Version ((byte)1, (byte)0), address, port,
               list.asArray ());

      try
      {
         inetAddress = InetAddress.getByName (uipmc.the_address);
View Full Code Here

      // removes the "miop:" header
      corbaloc = corbaloc.substring (corbaloc.indexOf (':') + 1);

      // parse version (optional)
      int sep = corbaloc.indexOf ('@');
      Version version = parseVersion (sep == -1 ? "" : corbaloc.substring (0, sep));
      corbaloc = corbaloc.substring (sep + 1);

      // parse tag group
      sep = corbaloc.indexOf ('/');
      parseTagGroup (corbaloc.substring (0, sep));
View Full Code Here

         catch (NumberFormatException nfe)
         {
            throw new IllegalArgumentException ("Invalid version :" + ver_str);
         }
      }
      return new Version ((byte)major, (byte)minor);
   }
View Full Code Here

    private Profile createMockProfile( int majorVersion, int minorVersion )
    {
        MockControl profileControl = MockControl.createControl( Profile.class );
        Profile profile = (Profile) profileControl.getMock();
        profile.version();
        profileControl.setReturnValue( new Version( (byte) majorVersion, (byte) minorVersion ) );
        profile.get_object_key();
        profileControl.setReturnValue( new byte[] {} );
        profileControl.replay();
        return profile;
    }
View Full Code Here

TOP

Related Classes of org.omg.GIOP.Version

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.