コード例 #1
0
 def __init__(self, value):
     if value not in IdUniquenessPolicyValue._items:
         raise CORBA.PolicyError(CORBA.BAD_POLICY_VALUE)
     self._value = value
     self._policy_type = 18
コード例 #2
0
ファイル: PortableServer.py プロジェクト: gmwu/corba_examples
 def __init__(self, value):
     if value not in ServantRetentionPolicyValue._items:
         raise CORBA.PolicyError(CORBA.BAD_POLICY_VALUE)
     self._value = value
     self._policy_type = 21
コード例 #3
0
ファイル: PortableServer.py プロジェクト: gmwu/corba_examples
 def __init__(self, value):
     if value not in RequestProcessingPolicyValue._items:
         raise CORBA.PolicyError(CORBA.BAD_POLICY_VALUE)
     self._value = value
     self._policy_type = 22
コード例 #4
0
ファイル: PortableServer.py プロジェクト: gmwu/corba_examples
 def __init__(self, value):
     if value not in ImplicitActivationPolicyValue._items:
         raise CORBA.PolicyError(CORBA.BAD_POLICY_VALUE)
     self._value = value
     self._policy_type = 20