1. package org.omg.IOP;
  2. /**
  3. * org/omg/IOP/ServiceContext.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.1"
  5. * from ../../../../src/share/classes/org/omg/PortableInterceptor/IOP.idl
  6. * Monday, February 23, 2004 7:03:03 AM GMT
  7. */
  8. /**
  9. * Service-specific information to be passed implicitly with requests
  10. * and replies. Service contexts are composed of service ids and
  11. * associated data.
  12. */
  13. public final class ServiceContext implements org.omg.CORBA.portable.IDLEntity
  14. {
  15. /** The service context id */
  16. public int context_id = (int)0;
  17. /** The data associated with this service context */
  18. public byte context_data[] = null;
  19. public ServiceContext ()
  20. {
  21. } // ctor
  22. public ServiceContext (int _context_id, byte[] _context_data)
  23. {
  24. context_id = _context_id;
  25. context_data = _context_data;
  26. } // ctor
  27. } // class ServiceContext