org.jacorb.orb.giop
Class ServiceContextTransportingOutputStream
java.lang.Object
java.io.OutputStream
org.omg.CORBA.portable.OutputStream
org.omg.CORBA_2_3.portable.OutputStream
org.jacorb.orb.CDROutputStream
org.jacorb.orb.giop.MessageOutputStream
org.jacorb.orb.giop.ServiceContextTransportingOutputStream
- Direct Known Subclasses:
- ReplyOutputStream, RequestOutputStream
- public class ServiceContextTransportingOutputStream
- extends MessageOutputStream
ServiceContextTransportingOutputStream.java
Created: Sat Aug 18 12:12:22 2002
- Version:
- $Id: ServiceContextTransportingOutputStream.java,v 1.21 2006/05/12 14:39:53 alphonse.bendt Exp $
- Author:
- Nicolas Noffke
Methods inherited from class org.jacorb.orb.CDROutputStream |
beginEncapsulatedArray, beginEncapsulation, close, configure, create_input_stream, endEncapsulation, finalize, getBufferCopy, getGIOPMinor, increaseSize, orb, reduceSize, reset, setBuffer, setBufferWithoutReset, setCodeSet, setGIOPMinor, size, skip, write_abstract_interface, write_any, write_boolean_array, write_boolean, write_char_array, write_char, write_double_array, write_double, write_fixed, write_float_array, write_float, write_IOR, write_long_array, write_long, write_longlong_array, write_longlong, write_Object, write_octet_array, write_octet, write_Principal, write_short_array, write_short, write_string, write_TypeCode, write_ulong_array, write_ulong, write_ulonglong_array, write_ulonglong, write_ushort_array, write_ushort, write_value, write_value, write_value, write_value, write_value, write_wchar_array, write_wchar, write_wstring, write |
Methods inherited from class java.io.OutputStream |
flush, write, write |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceContextTransportingOutputStream
public ServiceContextTransportingOutputStream()
ServiceContextTransportingOutputStream
public ServiceContextTransportingOutputStream(ORB orb)
markHeaderEnd
protected void markHeaderEnd()
- GIOP 1.2 requires the message body to start on an 8 byte
border, while 1.0/1.1 does not. Additionally, this padding shall
only be performed, if the body is not empty (which we don't
know at this stage.
insertMsgSize
public void insertMsgSize()
- Overrides:
insertMsgSize
in class MessageOutputStream
write_to
public void write_to(GIOPConnection conn)
throws java.io.IOException
- Overrides:
write_to
in class MessageOutputStream
- Throws:
java.io.IOException
addServiceContext
public void addServiceContext(ServiceContext ctx)
getBody
public byte[] getBody()
- private hack...