public class ServiceContextTransportingOutputStream extends MessageOutputStream
Modifier and Type | Field and Description |
---|---|
protected List |
contexts |
protected int |
header_end
header_end represents the end of the GIOP message header. |
protected int |
header_padding
header_padding represents the number of bytes used for padding
between header and body |
buffer, giop_minor, orb
Constructor and Description |
---|
ServiceContextTransportingOutputStream(ORB orb) |
Modifier and Type | Method and Description |
---|---|
void |
addServiceContext(ServiceContext ctx) |
int |
getBodyBegin() |
void |
insertMsgSize() |
protected void |
markHeaderEnd()
GIOP 1.2 requires the message body to start on an 8 byte
border, while 1.0/1.1 does not.
|
void |
write_to(GIOPConnection conn) |
insertMsgSize, writeGIOPMsgHeader
beginEncapsulatedArray, beginEncapsulation, check, close, create_input_stream, end_value, endEncapsulation, get_pos, getBufferCopy, getGIOPMinor, getMaximumStreamFormatVersion, increaseSize, isIndirectionEnabled, orb, reduceSize, releaseBuffer, setBuffer, setCodeSets, setGIOPMinor, size, skip, start_value, updateMutatorConnection, write_abstract_interface, write_any, write_boolean_array, write_boolean, write_byte, 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_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
write_Context, write
flush, write, write
protected int header_end
header_end
represents the end of the GIOP message header.
Only valid if header_padding != 0protected int header_padding
header_padding
represents the number of bytes used for padding
between header and bodyprotected List contexts
public ServiceContextTransportingOutputStream(ORB orb)
protected void markHeaderEnd()
public int getBodyBegin()
public void insertMsgSize()
insertMsgSize
in class MessageOutputStream
public void write_to(GIOPConnection conn) throws IOException
write_to
in class MessageOutputStream
IOException
public void addServiceContext(ServiceContext ctx)
Copyright © 2017 JacORB. All rights reserved.