public class _NumberGeneratorIFStub extends org.omg.CORBA.portable.ObjectImpl implements NumberGeneratorIF
Constructor and Description |
---|
_NumberGeneratorIFStub() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
_ids() |
int |
generate(java.lang.String namespace)
Generate a long value belongs to the given namespace.
|
void |
reset(java.lang.String namespace)
Reset the generation counter and will set the current count to zero.
|
void |
resetToValue(java.lang.String namespace,
int value)
Reset the generation counter and set the current value to the given value.
|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
public int generate(java.lang.String namespace) throws NumberGeneratorException
generate
in interface NumberGeneratorIFOperations
namespaced
- the name space that should be used for number generation.NumberGeneratorException
- with the following possible error codes:
NUMBERGENERATOR_BAD_PARAMETER
NUMBERGENERATOR_IMPLEMENTATION_PROBLEM
NUMBERGENERATOR_NOT_IMPLEMENTED
NUMBERGENERATOR_NO_MEMORYpublic void reset(java.lang.String namespace) throws NumberGeneratorException
reset
in interface NumberGeneratorIFOperations
namespaced
- the name space that should be reset.NumberGeneratorException
- with the following possible error codes:
NUMBERGENERATOR_BAD_PARAMETER
NUMBERGENERATOR_IMPLEMENTATION_PROBLEM
NUMBERGENERATOR_NOT_IMPLEMENTED
NUMBERGENERATOR_NO_MEMORYpublic void resetToValue(java.lang.String namespace, int value) throws NumberGeneratorException
resetToValue
in interface NumberGeneratorIFOperations
namespaced
- the name space that should be reset.value
- the new counter setting.NumberGeneratorException
- with the following possible error codes:
NUMBERGENERATOR_BAD_PARAMETER
NUMBERGENERATOR_IMPLEMENTATION_PROBLEM
NUMBERGENERATOR_NOT_IMPLEMENTED
NUMBERGENERATOR_NO_MEMORYpublic java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl