1. package org.omg.IOP;
  2. /**
  3. * org/omg/IOP/ServiceContextHolder.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 ServiceContextHolder implements org.omg.CORBA.portable.Streamable
  14. {
  15. public org.omg.IOP.ServiceContext value = null;
  16. public ServiceContextHolder ()
  17. {
  18. }
  19. public ServiceContextHolder (org.omg.IOP.ServiceContext initialValue)
  20. {
  21. value = initialValue;
  22. }
  23. public void _read (org.omg.CORBA.portable.InputStream i)
  24. {
  25. value = org.omg.IOP.ServiceContextHelper.read (i);
  26. }
  27. public void _write (org.omg.CORBA.portable.OutputStream o)
  28. {
  29. org.omg.IOP.ServiceContextHelper.write (o, value);
  30. }
  31. public org.omg.CORBA.TypeCode _type ()
  32. {
  33. return org.omg.IOP.ServiceContextHelper.type ();
  34. }
  35. }