diff options
Diffstat (limited to 'udkapi/com/sun/star/corba')
-rw-r--r-- | udkapi/com/sun/star/corba/corba.idl | 103 | ||||
-rw-r--r-- | udkapi/com/sun/star/corba/giop/giop.idl | 251 | ||||
-rw-r--r-- | udkapi/com/sun/star/corba/giop/makefile.mk | 43 | ||||
-rw-r--r-- | udkapi/com/sun/star/corba/iiop/iiop.idl | 87 | ||||
-rw-r--r-- | udkapi/com/sun/star/corba/iiop/makefile.mk | 43 | ||||
-rw-r--r-- | udkapi/com/sun/star/corba/iop/iop.idl | 123 | ||||
-rw-r--r-- | udkapi/com/sun/star/corba/iop/makefile.mk | 43 | ||||
-rw-r--r-- | udkapi/com/sun/star/corba/makefile.mk | 43 |
8 files changed, 736 insertions, 0 deletions
diff --git a/udkapi/com/sun/star/corba/corba.idl b/udkapi/com/sun/star/corba/corba.idl new file mode 100644 index 000000000000..d7e6bdea4c07 --- /dev/null +++ b/udkapi/com/sun/star/corba/corba.idl @@ -0,0 +1,103 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +module com { module sun { module star { module corba +{ + /** + @deprecated + */ + published typedef unsigned long ObjectSystemID; + /** + @deprecated + */ + published typedef sequence< byte > OpaqueData; + + /** + @deprecated + */ + published struct OneThreadID + { + ObjectSystemID objSysID; + OpaqueData threadID; + }; + + /** + @deprecated + */ + published typedef sequence<OneThreadID> ThreadIDs; + + /** + @deprecated + */ + published struct LogicalThreadID // Service context + { + ThreadIDs IDs; + }; + + /** + @deprecated + */ + published struct CorbaString8 + { + string theString; + }; + + /** + @deprecated + */ + published struct CorbaUnion + { + long dummy; + }; + + /** + @deprecated + */ + published struct ObjectKey + { + CorbaString8 sOid; + CorbaString8 sType; + }; + + /** + @deprecated + */ + published enum TCKind + { + tk_null, tk_void, + tk_short, tk_long, tk_ushort, tk_ulong, + tk_float, tk_double, tk_boolean, tk_char, + tk_octet, tk_any, tk_TypeCode, tk_Principal, tk_objref, + tk_struct, tk_union, tk_enum, tk_string, + tk_sequence, tk_array, tk_alias, tk_except, + tk_longlong, tk_ulonglong, tk_longdouble, + tk_wchar, tk_wstring, tk_fixed, + tk_value, tk_value_box, + tk_native, + tk_abstract_interface + }; + +}; }; }; }; diff --git a/udkapi/com/sun/star/corba/giop/giop.idl b/udkapi/com/sun/star/corba/giop/giop.idl new file mode 100644 index 000000000000..56e6fe67eda4 --- /dev/null +++ b/udkapi/com/sun/star/corba/giop/giop.idl @@ -0,0 +1,251 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#include <com/sun/star/corba/iop/iop.idl> +module com { module sun { module star { module corba { module giop +{ + /** + @deprecated + */ +published struct Version + { + byte major; + byte minor; + }; + + /** + @deprecated + */ +published enum MsgType_1_1 + { + Request, Reply, CancelRequest, + LocateRequest, LocateReply, + CloseConnection, MessageError, + Fragment // GIOP 1.1 addition + }; + + + /** + @deprecated + */ +published struct MessageHeader_1_0 + {// Renamed from MessageHeader + byte magic_1; + byte magic_2; + byte magic_3; + byte magic_4; + Version GIOP_version; + boolean byte_order; + byte message_type; + unsigned long message_size; + }; + + /** + @deprecated + */ +published struct MessageHeader_1_1 + { + byte magic_1; + byte magic_2; + byte magic_3; + byte magic_4; + Version GIOP_version; + byte flags; // GIOP 1.1 change + byte message_type; + unsigned long message_size; + }; + + /** + @deprecated + */ +published typedef MessageHeader_1_1 MessageHeader_1_2; + + /** + @deprecated + */ +published struct RequestHeader_1_0 + { + com::sun::star::corba::iop::ServiceContextList service_context; + unsigned long request_id; + boolean response_expected; + sequence < byte > object_key; + CorbaString8 operation; + sequence < byte > requesting_principal; + }; + + /** + @deprecated + */ +published struct RequestHeader_1_1 + { + com::sun::star::corba::iop::ServiceContextList service_context; + unsigned long request_id; + boolean response_expected; + byte reserved_1; + byte reserved_2; + byte reserved_3; // Added in GIOP 1.1 + sequence <byte> object_key; + CorbaString8 operation; + sequence <byte> requesting_principal; // binary compatible + }; + + /** + @deprecated + */ +published struct IORAddressingInfo + { + unsigned long selected_profile_index; + com::sun::star::corba::iop::IOR ior; + }; + + /** + @deprecated + */ +published constants TargetAddressGroup + { + const short KeyAddr = 0; + const short ProfileAddr = 1; + const short ReferenceAddr = 2; + }; + + /** + @deprecated + */ +published struct TargetAddress : CorbaUnion + { + short nDiscriminator; + sequence < byte > object_key; // KeyAddr + com::sun::star::corba::iop::TaggedProfile profile; // ProfileAddr + IORAddressingInfo ior; // ReferenceAddr + }; + + + /** + @deprecated + */ +published struct RequestHeader_1_2 + { + unsigned long request_id; + byte response_flags; + byte reserved_1; + byte reserved_2; + byte reserved_3; + TargetAddress target; + CorbaString8 operation; +// Principal not in GIOP 1.2 + com::sun::star::corba::iop::ServiceContextList service_context; // 1.2 change + }; + + + /** + @deprecated + */ +published enum ReplyStatusType_1_2 + { + NO_EXCEPTION, + USER_EXCEPTION, + SYSTEM_EXCEPTION, + LOCATION_FORWARD, + LOCATION_FORWARD_PERM, // new value for 1.2 + NEEDS_ADDRESSING_MODE // new value for 1.2 + }; + + + /** + @deprecated + */ +published struct ReplyHeader_1_2 + { + unsigned long request_id; + ReplyStatusType_1_2 reply_status; + com::sun::star::corba::iop::ServiceContextList service_context; // 1.2 change + }; + + /** + @deprecated + */ +published struct SystemExceptionReplyBody + { + CorbaString8 exception_id; + unsigned long minor_code_value; + unsigned long completion_status; + }; + + /** + @deprecated + */ +published struct CancelRequestHeader + { + unsigned long request_id; + }; + + /** + @deprecated + */ +published struct LocateRequestHeader_1_0 + { +// Renamed LocationRequestHeader + unsigned long request_id; + sequence <byte> object_key; + }; + + /** + @deprecated + */ +published typedef LocateRequestHeader_1_0 LocateRequestHeader_1_1; + + /** + @deprecated + */ +published enum LocateStatusType_1_2 { + UNKNOWN_OBJECT, + OBJECT_HERE, + OBJECT_FORWARD, + OBJECT_FORWARD_PERM, // new value for GIOP 1.2 + LOC_SYSTEM_EXCEPTION, // new value for GIOP 1.2 + LOC_NEEDS_ADDRESSING_MODE // new value for GIOP 1.2 + }; + + /** + @deprecated + */ +published struct LocateReplyHeader_1_2 + { + unsigned long request_id; + LocateStatusType_1_2 locate_status; + }; + + /** + @deprecated + */ +published struct FragmentHeader_1_2 + { + unsigned long request_id; + }; + + +}; }; }; }; }; + diff --git a/udkapi/com/sun/star/corba/giop/makefile.mk b/udkapi/com/sun/star/corba/giop/makefile.mk new file mode 100644 index 000000000000..1e05e5619965 --- /dev/null +++ b/udkapi/com/sun/star/corba/giop/makefile.mk @@ -0,0 +1,43 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* +PRJ=..$/..$/..$/..$/.. + +PRJNAME=api + +TARGET=cssgiop +PACKAGE=com$/sun$/star$/giop + +# --- Settings ----------------------------------------------------- +.INCLUDE : $(PRJ)$/util$/makefile.pmk +# ------------------------------------------------------------------------ + +IDLFILES=\ + giop.idl + +# ------------------------------------------------------------------ +.INCLUDE : target.mk +.INCLUDE : $(PRJ)$/util$/target.pmk diff --git a/udkapi/com/sun/star/corba/iiop/iiop.idl b/udkapi/com/sun/star/corba/iiop/iiop.idl new file mode 100644 index 000000000000..055b4c8506bb --- /dev/null +++ b/udkapi/com/sun/star/corba/iiop/iiop.idl @@ -0,0 +1,87 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#include <com/sun/star/corba/giop/giop.idl> +module com { module sun { module star { module corba { module iiop +{ + /** + @deprecated + */ +published struct Version + { + byte major; + byte minor; + }; + + + /** + @deprecated + */ +published struct ProfileBody_1_0 + {// renamed from ProfileBody + Version iiop_version; + CorbaString8 host; + unsigned short port; + sequence <byte> object_key; + }; + + /** + @deprecated + */ +published struct ProfileBody_1_1 + {// also used for 1.2 + Version iiop_version; + CorbaString8 host; + unsigned short port; + sequence < byte > object_key; +// Added in 1.1 unchanged for 1.2 + sequence <com::sun::star::corba::iop::TaggedComponent> components; + }; + + /** + @deprecated + */ +published struct ListenPoint + { + CorbaString8 host; + unsigned short port; + }; + + /** + @deprecated + */ +published typedef sequence<ListenPoint> ListenPointList; + + /** + @deprecated + */ +published struct BiDirIIOPServiceContext + {// BI_DIR_IIOP Service Context + ListenPointList listen_points; + }; + +}; }; }; }; }; + diff --git a/udkapi/com/sun/star/corba/iiop/makefile.mk b/udkapi/com/sun/star/corba/iiop/makefile.mk new file mode 100644 index 000000000000..c59fd00293ba --- /dev/null +++ b/udkapi/com/sun/star/corba/iiop/makefile.mk @@ -0,0 +1,43 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* +PRJ=..$/..$/..$/..$/.. + +PRJNAME=api + +TARGET=cssiiop +PACKAGE=com$/sun$/star$/iiop + +# --- Settings ----------------------------------------------------- +.INCLUDE : $(PRJ)$/util$/makefile.pmk +# ------------------------------------------------------------------------ + +IDLFILES=\ + iiop.idl + +# ------------------------------------------------------------------ +.INCLUDE : target.mk +.INCLUDE : $(PRJ)$/util$/target.pmk diff --git a/udkapi/com/sun/star/corba/iop/iop.idl b/udkapi/com/sun/star/corba/iop/iop.idl new file mode 100644 index 000000000000..85be91f3ae47 --- /dev/null +++ b/udkapi/com/sun/star/corba/iop/iop.idl @@ -0,0 +1,123 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#include <com/sun/star/corba/corba.idl> +module com { module sun { module star { module corba { module iop +{ // IDL + + /** + @deprecated + */ + published typedef unsigned long ProfileId; + + /** + @deprecated + */ + published constants ProfileIdGroup + { + const ProfileId TAG_INTERNET_IOP = 0; + const ProfileId TAG_MULTIPLE_COMPONENTS = 1; + }; + + /** + @deprecated + */ + published struct TaggedProfile + { + ProfileId tag; + sequence <byte> profile_data; + }; + // an Interoperable Object Reference is a sequence of + // object-specific protocol profiles, plus a type ID. + + /** + @deprecated + */ + published struct IOR + { + CorbaString8 type_id; + sequence <TaggedProfile> profiles; + }; + + // Standard way of representing multicomponent profiles. + // This would be encapsulated in a TaggedProfile. + /** + @deprecated + */ + published typedef unsigned long ComponentId; + + /** + @deprecated + */ + published struct TaggedComponent + { + ComponentId tag; + sequence <byte> component_data; + }; + + /** + @deprecated + */ + published typedef sequence <TaggedComponent> MultipleComponentProfile; + + /** + @deprecated + */ + published typedef unsigned long ServiceId; + + /** + @deprecated + */ + published struct ServiceContext + { + ServiceId context_id; + sequence < byte > context_data; + }; + + /** + @deprecated + */ + published typedef sequence <ServiceContext> ServiceContextList; + + /** + @deprecated + */ + published constants ServiceIdGroup + { + const ServiceId TransactionService = 0; + const ServiceId CodeSets = 1; + const ServiceId ChainBypassCheck = 2; + const ServiceId ChainBypassInfo = 3; + const ServiceId LogicalThreadId = 4; + const ServiceId BI_DIR_IIOP = 5; + const ServiceId SendingContextRunTime = 6; + const ServiceId INVOCATION_POLICIES = 7; + const ServiceId FORWARDED_IDENTITY = 8; + const ServiceId UnknownExceptionInfo = 9; + }; + +}; }; }; }; }; + diff --git a/udkapi/com/sun/star/corba/iop/makefile.mk b/udkapi/com/sun/star/corba/iop/makefile.mk new file mode 100644 index 000000000000..982c68c9afb6 --- /dev/null +++ b/udkapi/com/sun/star/corba/iop/makefile.mk @@ -0,0 +1,43 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* +PRJ=..$/..$/..$/..$/.. + +PRJNAME=api + +TARGET=cssiop +PACKAGE=com$/sun$/star$/iop + +# --- Settings ----------------------------------------------------- +.INCLUDE : $(PRJ)$/util$/makefile.pmk +# ------------------------------------------------------------------------ + +IDLFILES=\ + iop.idl + +# ------------------------------------------------------------------ +.INCLUDE : target.mk +.INCLUDE : $(PRJ)$/util$/target.pmk diff --git a/udkapi/com/sun/star/corba/makefile.mk b/udkapi/com/sun/star/corba/makefile.mk new file mode 100644 index 000000000000..a959378cf827 --- /dev/null +++ b/udkapi/com/sun/star/corba/makefile.mk @@ -0,0 +1,43 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* +PRJ=..$/..$/..$/.. + +PRJNAME=api + +TARGET=csscorba +PACKAGE=com$/sun$/star$/corba + +# --- Settings ----------------------------------------------------- +.INCLUDE : $(PRJ)$/util$/makefile.pmk +# ------------------------------------------------------------------------ + +IDLFILES=\ + corba.idl + +# ------------------------------------------------------------------ +.INCLUDE : target.mk +.INCLUDE : $(PRJ)$/util$/target.pmk |