# Python stubs generated by omniidl from /home/astrisw/TestMaster/PPPP/src/../idl/PPPP.idl
# DO NOT EDIT THIS FILE!

import omniORB, _omnipy
from omniORB import CORBA, PortableServer
_0_CORBA = CORBA


_omnipy.checkVersion(4,2, __file__, 1)

try:
    property
except NameError:
    def property(*args):
        return None


# #include "acserr.idl"
import acserr_idl
_0_ACSErr = omniORB.openModule("ACSErr")
_0_ACSErr__POA = omniORB.openModule("ACSErr__POA")

# #include "acscommon.idl"
import acscommon_idl
_0_ACS = omniORB.openModule("ACS")
_0_ACS__POA = omniORB.openModule("ACS__POA")
_0_log_audience = omniORB.openModule("log_audience")
_0_log_audience__POA = omniORB.openModule("log_audience__POA")
_0_acscommon = omniORB.openModule("acscommon")
_0_acscommon__POA = omniORB.openModule("acscommon__POA")

# #include "acscomponent.idl"
import acscomponent_idl
_0_ACS = omniORB.openModule("ACS")
_0_ACS__POA = omniORB.openModule("ACS__POA")

#
# Start of module "test"
#
__name__ = "test"
_0_test = omniORB.openModule("test", r"/home/astrisw/TestMaster/PPPP/src/../idl/PPPP.idl")
_0_test__POA = omniORB.openModule("test__POA", r"/home/astrisw/TestMaster/PPPP/src/../idl/PPPP.idl")


# interface PPPP
_0_test._d_PPPP = (omniORB.tcInternal.tv_objref, "IDL:astri/test/PPPP:1.0", "PPPP")
omniORB.typeMapping["IDL:astri/test/PPPP:1.0"] = _0_test._d_PPPP
_0_test.PPPP = omniORB.newEmptyClass()
class PPPP (_0_ACS.ACSComponent):
    _NP_RepositoryId = _0_test._d_PPPP[1]

    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")

    _nil = CORBA.Object._nil


_0_test.PPPP = PPPP
_0_test._tc_PPPP = omniORB.tcInternal.createTypeCode(_0_test._d_PPPP)
omniORB.registerType(PPPP._NP_RepositoryId, _0_test._d_PPPP, _0_test._tc_PPPP)

# PPPP operations and attributes
PPPP._d_sayHello = ((), ((omniORB.tcInternal.tv_string,0), ), None)
PPPP._d_sayHelloWithParameters = (((omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_double), ((omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_double, omniORB.tcInternal.tv_long), None)

# PPPP object reference
class _objref_PPPP (_0_ACS._objref_ACSComponent):
    _NP_RepositoryId = PPPP._NP_RepositoryId

    def __init__(self, obj):
        _0_ACS._objref_ACSComponent.__init__(self, obj)

    def sayHello(self, *args):
        return self._obj.invoke("sayHello", _0_test.PPPP._d_sayHello, args)

    def sayHelloWithParameters(self, *args):
        return self._obj.invoke("sayHelloWithParameters", _0_test.PPPP._d_sayHelloWithParameters, args)

omniORB.registerObjref(PPPP._NP_RepositoryId, _objref_PPPP)
_0_test._objref_PPPP = _objref_PPPP
del PPPP, _objref_PPPP

# PPPP skeleton
__name__ = "test__POA"
class PPPP (_0_ACS__POA.ACSComponent):
    _NP_RepositoryId = _0_test.PPPP._NP_RepositoryId


    _omni_op_d = {"sayHello": _0_test.PPPP._d_sayHello, "sayHelloWithParameters": _0_test.PPPP._d_sayHelloWithParameters}
    _omni_op_d.update(_0_ACS__POA.ACSComponent._omni_op_d)

PPPP._omni_skeleton = PPPP
_0_test__POA.PPPP = PPPP
omniORB.registerSkeleton(PPPP._NP_RepositoryId, PPPP)
del PPPP
__name__ = "test"

#
# End of module "test"
#
__name__ = "PPPP_idl"

_exported_modules = ( "test", )

# The end.
