| com.caucho.iiop.IiopWriter
All known Subclasses: com.caucho.iiop.Iiop10Writer,
IiopWriter | abstract public class IiopWriter extends org.omg.CORBA_2_3.portable.OutputStream (Code) | | |
Method Summary | |
public IiopReader | _call() | public void | alignMethodArgs() | public org.omg.CORBA.portable.InputStream | create_input_stream() | protected WriterContext | getContext() | public String | getHost() Get the default host. | final public int | getOffset() | public int | getPort() Get the default port. | public void | init(MessageWriter out) Initialize the writer with a new underlying stream. | public void | init() | public void | init(MessageWriter out, IiopReader reader) Initialize the writer with a new underlying stream and a reader. | public org.omg.CORBA.ORB | orb() | public void | setHost(String host) Set the default host. | public void | setOrb(org.omg.CORBA.ORB orb) | public void | setPort(int port) Set the default port. | abstract public void | startReplyOk(int requestId) | abstract public void | startReplySystemException(int requestId, String exceptionId, int minorStatus, int completionStatus, Throwable cause) | public void | startReplyUserException(int requestId, String exceptionId) | abstract public void | startReplyUserException(int requestId) | public void | startRequest(IOR ior, String operation) | public void | startRequest(byte[] oid, int off, int len, String operation) | abstract public void | startRequest(byte[] oid, int off, int len, String operation, int requestId, ArrayList<ServiceContext> serviceList) | public void | write(int b) Writes a 32-bit integer. | public void | write(byte[] b, int off, int len) | public void | writeBytes(byte[] b, int off, int len) | public void | writeCodeSetService() | public void | writeIOR(IOR ior) Writes an IOR to the output. | public void | writeNull() Writes a null to the packet. | public void | writeNullIOR() Writes a null IOR to the packet. | public void | writeRequestServiceControlList() | public void | writeString(String v) Writes a string to the packet. | public void | write_Object(org.omg.CORBA.Object obj) Writes a CORBA object to the output stream. | public void | write_Principal(org.omg.CORBA.Principal principal) | public void | write_TypeCode(TypeCode tc) Writes a CORBA typecode to the output stream. | public void | write_abstract_interface(java.lang.Object obj) Writes a CORBA abstract interface to the output stream. | public void | write_any(Any any) | public void | write_boolean(boolean v) | public void | write_boolean_array(boolean[] value, int offset, int length) Writes a sequence of booleans to the output stream. | public void | write_char(char v) Writes a 8-bit char. | public void | write_char_array(char[] value, int offset, int length) Writes a sequence of 8-bit characters to the output stream. | public void | write_double(double v) Writes a 64-bit double. | public void | write_double_array(double[] value, int offset, int length) Writes a sequence of doubles to the output stream. | public void | write_float(float v) Writes a 32-bit float. | public void | write_float_array(float[] value, int offset, int length) Writes a sequence of floats to the output stream. | public void | write_long(int v) | public void | write_long_array(int[] value, int offset, int length) Writes a sequence of CORBA long (Java int) to the output stream. | public void | write_longlong(long v) | public void | write_longlong_array(long[] value, int offset, int length) Writes a sequence of CORBA long long (Java long) to the output stream. | public void | write_octet(byte v) Writes a 8-bit byte. | public void | write_octet_array(byte[] value, int offset, int length) Writes a sequence of bytes to the output stream. | public void | write_short(short v) Writes a 16-bit short. | public void | write_short_array(short[] value, int offset, int length) Writes a sequence of shorts to the output stream. | public void | write_string(String a) Writes a sequence of 8-bit characters to the output stream. | public void | write_ulong(int v) | public void | write_ulong_array(int[] value, int offset, int length) Writes a sequence of CORBA unsigned long (Java int) to the output stream. | public void | write_ulonglong(long v) | public void | write_ulonglong_array(long[] value, int offset, int length) Writes a sequence of CORBA long long (Java long) to the output stream. | public void | write_ushort(short v) Writes a 16-bit short. | public void | write_ushort_array(short[] value, int offset, int length) Writes a sequence of unsigned shorts to the output stream. | public void | write_value(Serializable obj, Class javaType) | public void | write_value(Serializable obj) | public void | write_wchar(char v) Writes a 16-bit char. | public void | write_wchar_array(char[] value, int offset, int length) Writes a sequence of 16-bit characters to the output stream. | public void | write_wstring(String a) Writes a sequence of 8-bit characters to the output stream. |
VALUE_HAS_CODESET | final protected static int VALUE_HAS_CODESET(Code) | | |
VALUE_MANY_REP_IDS | final protected static int VALUE_MANY_REP_IDS(Code) | | |
VALUE_NO_TYPE | final protected static int VALUE_NO_TYPE(Code) | | |
VALUE_ONE_REP_ID | final protected static int VALUE_ONE_REP_ID(Code) | | |
VALUE_TAG | final protected static int VALUE_TAG(Code) | | |
_nullSystemException | protected SystemException _nullSystemException(Code) | | |
_port | protected int _port(Code) | | |
_type | protected int _type(Code) | | |
IiopWriter | public IiopWriter()(Code) | | |
alignMethodArgs | public void alignMethodArgs()(Code) | | |
create_input_stream | public org.omg.CORBA.portable.InputStream create_input_stream()(Code) | | |
getOffset | final public int getOffset()(Code) | | |
getPort | public int getPort()(Code) | | Get the default port.
|
init | public void init(MessageWriter out)(Code) | | Initialize the writer with a new underlying stream.
Parameters: ws - the underlying write stream. |
init | public void init(MessageWriter out, IiopReader reader)(Code) | | Initialize the writer with a new underlying stream and a reader.
Parameters: ws - the underlying write stream. Parameters: reader - the reader |
orb | public org.omg.CORBA.ORB orb()(Code) | | |
setHost | public void setHost(String host)(Code) | | Set the default host.
|
setOrb | public void setOrb(org.omg.CORBA.ORB orb)(Code) | | |
setPort | public void setPort(int port)(Code) | | Set the default port.
|
startReplyOk | abstract public void startReplyOk(int requestId) throws IOException(Code) | | Writes the header for a request
|
startReplySystemException | abstract public void startReplySystemException(int requestId, String exceptionId, int minorStatus, int completionStatus, Throwable cause) throws IOException(Code) | | Writes the header for a system reply exception
|
startReplyUserException | public void startReplyUserException(int requestId, String exceptionId) throws IOException(Code) | | Writes the header for a user exception
|
startReplyUserException | abstract public void startReplyUserException(int requestId) throws IOException(Code) | | Writes the header for a user exception with no exception id
|
startRequest | public void startRequest(IOR ior, String operation) throws IOException(Code) | | Writes the header for a request
Parameters: operation - the method to call |
startRequest | public void startRequest(byte[] oid, int off, int len, String operation) throws IOException(Code) | | Writes the header for a request
Parameters: operation - the method to call |
startRequest | abstract public void startRequest(byte[] oid, int off, int len, String operation, int requestId, ArrayList<ServiceContext> serviceList) throws IOException(Code) | | Writes the header for a request
Parameters: operation - the method to call |
write | public void write(int b)(Code) | | Writes a 32-bit integer.
|
write | public void write(byte[] b, int off, int len)(Code) | | Writes a byte array
Parameters: b - byte buffer |
writeBytes | public void writeBytes(byte[] b, int off, int len)(Code) | | Writes a byte array
Parameters: b - byte buffer |
writeIOR | public void writeIOR(IOR ior)(Code) | | Writes an IOR to the output.
|
writeNull | public void writeNull()(Code) | | Writes a null to the packet.
|
writeNullIOR | public void writeNullIOR()(Code) | | Writes a null IOR to the packet.
|
writeRequestServiceControlList | public void writeRequestServiceControlList() throws IOException(Code) | | |
writeString | public void writeString(String v)(Code) | | Writes a string to the packet.
Parameters: v - string value |
write_Object | public void write_Object(org.omg.CORBA.Object obj)(Code) | | Writes a CORBA object to the output stream.
|
write_Principal | public void write_Principal(org.omg.CORBA.Principal principal)(Code) | | |
write_TypeCode | public void write_TypeCode(TypeCode tc)(Code) | | Writes a CORBA typecode to the output stream.
|
write_abstract_interface | public void write_abstract_interface(java.lang.Object obj)(Code) | | Writes a CORBA abstract interface to the output stream.
|
write_any | public void write_any(Any any)(Code) | | |
write_boolean | public void write_boolean(boolean v)(Code) | | Writes a boolean
|
write_boolean_array | public void write_boolean_array(boolean[] value, int offset, int length)(Code) | | Writes a sequence of booleans to the output stream.
|
write_char | public void write_char(char v)(Code) | | Writes a 8-bit char.
|
write_char_array | public void write_char_array(char[] value, int offset, int length)(Code) | | Writes a sequence of 8-bit characters to the output stream.
|
write_double | public void write_double(double v)(Code) | | Writes a 64-bit double.
|
write_double_array | public void write_double_array(double[] value, int offset, int length)(Code) | | Writes a sequence of doubles to the output stream.
|
write_float | public void write_float(float v)(Code) | | Writes a 32-bit float.
|
write_float_array | public void write_float_array(float[] value, int offset, int length)(Code) | | Writes a sequence of floats to the output stream.
|
write_long | public void write_long(int v)(Code) | | Writes a 32-bit int
|
write_long_array | public void write_long_array(int[] value, int offset, int length)(Code) | | Writes a sequence of CORBA long (Java int) to the output stream.
|
write_longlong | public void write_longlong(long v)(Code) | | Writes a 64-bit int
|
write_longlong_array | public void write_longlong_array(long[] value, int offset, int length)(Code) | | Writes a sequence of CORBA long long (Java long) to the output stream.
|
write_octet | public void write_octet(byte v)(Code) | | Writes a 8-bit byte.
|
write_octet_array | public void write_octet_array(byte[] value, int offset, int length)(Code) | | Writes a sequence of bytes to the output stream.
|
write_short | public void write_short(short v)(Code) | | Writes a 16-bit short.
|
write_short_array | public void write_short_array(short[] value, int offset, int length)(Code) | | Writes a sequence of shorts to the output stream.
|
write_string | public void write_string(String a)(Code) | | Writes a sequence of 8-bit characters to the output stream.
|
write_ulong | public void write_ulong(int v)(Code) | | Writes a 32-bit int
|
write_ulong_array | public void write_ulong_array(int[] value, int offset, int length)(Code) | | Writes a sequence of CORBA unsigned long (Java int) to the output stream.
|
write_ulonglong | public void write_ulonglong(long v)(Code) | | Writes a 64-bit long
|
write_ulonglong_array | public void write_ulonglong_array(long[] value, int offset, int length)(Code) | | Writes a sequence of CORBA long long (Java long) to the output stream.
|
write_ushort | public void write_ushort(short v)(Code) | | Writes a 16-bit short.
|
write_ushort_array | public void write_ushort_array(short[] value, int offset, int length)(Code) | | Writes a sequence of unsigned shorts to the output stream.
|
write_wchar | public void write_wchar(char v)(Code) | | Writes a 16-bit char.
|
write_wchar_array | public void write_wchar_array(char[] value, int offset, int length)(Code) | | Writes a sequence of 16-bit characters to the output stream.
|
write_wstring | public void write_wstring(String a)(Code) | | Writes a sequence of 8-bit characters to the output stream.
|
|
|