org.jacorb.orb.giop
Class MessageOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.omg.CORBA.portable.OutputStream
          extended byorg.omg.CORBA_2_3.portable.OutputStream
              extended byorg.jacorb.orb.CDROutputStream
                  extended byorg.jacorb.orb.giop.MessageOutputStream
Direct Known Subclasses:
LocateReplyOutputStream, LocateRequestOutputStream, ServiceContextTransportingOutputStream

public class MessageOutputStream
extends CDROutputStream

MessageOutputStream.java Created: Sat Aug 18 12:12:22 2002

Version:
$Id: MessageOutputStream.java,v 1.15 2006/05/12 14:39:53 alphonse.bendt Exp $
Author:
Nicolas Noffke

Field Summary
 
Fields inherited from class org.jacorb.orb.CDROutputStream
buffer, giop_minor
 
Constructor Summary
MessageOutputStream()
           
MessageOutputStream(ORB orb)
           
 
Method Summary
 void insertMsgSize()
           
 void insertMsgSize(int size)
           
 void write_to(GIOPConnection conn)
           
 void writeGIOPMsgHeader(int message_type, int minor_version)
          Writes a GIOPMessageHeader of the required type to the beginning of the buffer and sets the start position and index.
 
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 org.omg.CORBA.portable.OutputStream
write_Context, write_fixed, 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
 

Constructor Detail

MessageOutputStream

public MessageOutputStream()

MessageOutputStream

public MessageOutputStream(ORB orb)
Method Detail

writeGIOPMsgHeader

public void writeGIOPMsgHeader(int message_type,
                               int minor_version)
Writes a GIOPMessageHeader of the required type to the beginning of the buffer and sets the start position and index.


insertMsgSize

public void insertMsgSize(int size)

insertMsgSize

public void insertMsgSize()

write_to

public void write_to(GIOPConnection conn)
              throws java.io.IOException
Throws:
java.io.IOException