// **********************************************************************
//
// Copyright (c) 2002
// IONA Technologies, Inc.
// Waltham, MA, USA
//
// All Rights Reserved
//
// **********************************************************************

#ifndef IIOP_IDL
#define IIOP_IDL

#include <OB/GIOP.idl>

#pragma prefix "omg.org"

module IIOP
{

struct Version
{
    octet major;
    octet minor;
};

struct ProfileBody_1_0
{
    Version iiop_version;
    string host;
    unsigned short port;
    sequence<octet> object_key;
};

struct ProfileBody_1_1
{
    Version iiop_version;
    string host;
    unsigned short port;
    sequence<octet> object_key;
    sequence<IOP::TaggedComponent> components;
};

}; // End module IIOP

#endif
