Codec.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __org_omg_IOP_Codec__
  3. #define __org_omg_IOP_Codec__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace org
  10. {
  11. namespace omg
  12. {
  13. namespace CORBA
  14. {
  15. class Any;
  16. class Context;
  17. class ContextList;
  18. class DomainManager;
  19. class ExceptionList;
  20. class NVList;
  21. class NamedValue;
  22. class Object;
  23. class Policy;
  24. class Request;
  25. class SetOverrideType;
  26. class TypeCode;
  27. }
  28. namespace IOP
  29. {
  30. class Codec;
  31. }
  32. }
  33. }
  34. }
  35. class org::omg::IOP::Codec : public ::java::lang::Object
  36. {
  37. public:
  38. virtual JArray< jbyte > * encode(::org::omg::CORBA::Any *) = 0;
  39. virtual ::org::omg::CORBA::Any * decode(JArray< jbyte > *) = 0;
  40. virtual JArray< jbyte > * encode_value(::org::omg::CORBA::Any *) = 0;
  41. virtual ::org::omg::CORBA::Any * decode_value(JArray< jbyte > *, ::org::omg::CORBA::TypeCode *) = 0;
  42. virtual ::org::omg::CORBA::Request * _create_request(::org::omg::CORBA::Context *, ::java::lang::String *, ::org::omg::CORBA::NVList *, ::org::omg::CORBA::NamedValue *) = 0;
  43. virtual ::org::omg::CORBA::Request * _create_request(::org::omg::CORBA::Context *, ::java::lang::String *, ::org::omg::CORBA::NVList *, ::org::omg::CORBA::NamedValue *, ::org::omg::CORBA::ExceptionList *, ::org::omg::CORBA::ContextList *) = 0;
  44. virtual ::org::omg::CORBA::Object * _duplicate() = 0;
  45. virtual JArray< ::org::omg::CORBA::DomainManager * > * _get_domain_managers() = 0;
  46. virtual ::org::omg::CORBA::Object * _get_interface_def() = 0;
  47. virtual ::org::omg::CORBA::Policy * _get_policy(jint) = 0;
  48. virtual jint _hash(jint) = 0;
  49. virtual jboolean _is_a(::java::lang::String *) = 0;
  50. virtual jboolean _is_equivalent(::org::omg::CORBA::Object *) = 0;
  51. virtual jboolean _non_existent() = 0;
  52. virtual void _release() = 0;
  53. virtual ::org::omg::CORBA::Request * _request(::java::lang::String *) = 0;
  54. virtual ::org::omg::CORBA::Object * _set_policy_override(JArray< ::org::omg::CORBA::Policy * > *, ::org::omg::CORBA::SetOverrideType *) = 0;
  55. static ::java::lang::Class class$;
  56. } __attribute__ ((java_interface));
  57. #endif // __org_omg_IOP_Codec__