org.jacorb.orb.giop
Class RequestOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.omg.CORBA.portable.OutputStream
          extended by org.omg.CORBA_2_3.portable.OutputStream
              extended by org.jacorb.orb.CDROutputStream
                  extended by org.jacorb.orb.giop.MessageOutputStream
                      extended by org.jacorb.orb.giop.ServiceContextTransportingOutputStream
                          extended by org.jacorb.orb.giop.RequestOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class RequestOutputStream
extends ServiceContextTransportingOutputStream

Version:
$Id: RequestOutputStream.java,v 1.32 2006/07/26 11:05:21 nick.cross Exp $
Author:
Gerald Brose, FU Berlin 1999

Field Summary
 
Fields inherited from class org.jacorb.orb.CDROutputStream
buffer, giop_minor
 
Constructor Summary
RequestOutputStream(ORB orb, ClientConnection connection, int request_id, java.lang.String operation, boolean response_expected, short syncScope, UtcT requestStartTime, UtcT requestEndTime, UtcT replyEndTime, byte[] object_key, int giop_minor)
           
 
Method Summary
 ClientConnection getConnection()
           
 UtcT getReplyEndTime()
           
 Request getRequest()
           
 java.lang.String operation()
           
 int requestId()
           
 boolean response_expected()
           
 void setRequest(Request request)
           
 short syncScope()
           
 void write_to(GIOPConnection conn)
          Overridden to add a codeset service context if this is the first request on the connection.
 
Methods inherited from class org.jacorb.orb.giop.ServiceContextTransportingOutputStream
addServiceContext, getBody, insertMsgSize, markHeaderEnd
 
Methods inherited from class org.jacorb.orb.giop.MessageOutputStream
insertMsgSize, writeGIOPMsgHeader
 
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, updateMutatorConnection, write_abstract_interface, write_any, write_boolean_array, write_boolean, write_char_array, write_char, write_double_array, write_double, write_fixed, 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
 
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

RequestOutputStream

public RequestOutputStream(ORB orb,
                           ClientConnection connection,
                           int request_id,
                           java.lang.String operation,
                           boolean response_expected,
                           short syncScope,
                           UtcT requestStartTime,
                           UtcT requestEndTime,
                           UtcT replyEndTime,
                           byte[] object_key,
                           int giop_minor)
Method Detail

requestId

public int requestId()

response_expected

public boolean response_expected()

syncScope

public short syncScope()

operation

public java.lang.String operation()

getReplyEndTime

public UtcT getReplyEndTime()

setRequest

public void setRequest(Request request)

getRequest

public Request getRequest()

getConnection

public ClientConnection getConnection()

write_to

public void write_to(GIOPConnection conn)
              throws java.io.IOException
Overridden to add a codeset service context if this is the first request on the connection.

Overrides:
write_to in class ServiceContextTransportingOutputStream
Throws:
java.io.IOException