// **********************************************************************
//
// Copyright (c) 1999
// Object Oriented Concepts, Inc.
// Billerica, MA, USA
//
// All Rights Reserved
//
// **********************************************************************

//
// Additional internally used types
//

#include <OBNaming.idl>

#pragma prefix "ooc.com"

module CosNaming
{

module Database
{
    struct Version
    {
	string ver;
    };
    
    struct Create
    {
	string key;
	long timestamp;
    };
    
    struct Bind
    {
	boolean rebind;
	CosNaming::NamingContext nc;
	CosNaming::Name name;
	CosNaming::OBNamingContext::NcOrObj type;
	long timestamp;
    };
    
    struct Destroy
    {
	CosNaming::NamingContext nc;
    };
    
    struct Unbind
    {
	CosNaming::NamingContext nc;
	CosNaming::Name name;
    };
    
    struct Info
    {
	string host;
	short port;
    };

}; // End module Database

typedef sequence< BindingListener > BindingListenerSeq;

}; // End module CosNaming
