Java Doc for IiopWriter.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » iiop » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » resin » com.caucho.iiop 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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)


Field Summary
final protected static  intVALUE_HAS_CODESET
    
final protected static  intVALUE_MANY_REP_IDS
    
final protected static  intVALUE_NO_TYPE
    
final protected static  intVALUE_ONE_REP_ID
    
final protected static  intVALUE_TAG
    
protected  String_host
    
protected  SystemException_nullSystemException
    
protected  MessageWriter_out
    
protected  int_port
    
protected  IiopReader_reader
    
protected  int_type
    

Constructor Summary
public  IiopWriter()
    
public  IiopWriter(IiopWriter parent, MessageWriter out)
    

Method Summary
public  IiopReader_call()
    
public  voidalignMethodArgs()
    
public  org.omg.CORBA.portable.InputStreamcreate_input_stream()
    
protected  WriterContextgetContext()
    
public  StringgetHost()
     Get the default host.
final public  intgetOffset()
    
public  intgetPort()
     Get the default port.
public  voidinit(MessageWriter out)
     Initialize the writer with a new underlying stream.
public  voidinit()
    
public  voidinit(MessageWriter out, IiopReader reader)
     Initialize the writer with a new underlying stream and a reader.
public  org.omg.CORBA.ORBorb()
    
public  voidsetHost(String host)
     Set the default host.
public  voidsetOrb(org.omg.CORBA.ORB orb)
    
public  voidsetPort(int port)
     Set the default port.
abstract public  voidstartReplyOk(int requestId)
    
abstract public  voidstartReplySystemException(int requestId, String exceptionId, int minorStatus, int completionStatus, Throwable cause)
    
public  voidstartReplyUserException(int requestId, String exceptionId)
    
abstract public  voidstartReplyUserException(int requestId)
    
public  voidstartRequest(IOR ior, String operation)
    
public  voidstartRequest(byte[] oid, int off, int len, String operation)
    
abstract public  voidstartRequest(byte[] oid, int off, int len, String operation, int requestId, ArrayList<ServiceContext> serviceList)
    
public  voidwrite(int b)
     Writes a 32-bit integer.
public  voidwrite(byte[] b, int off, int len)
    
public  voidwriteBytes(byte[] b, int off, int len)
    
public  voidwriteCodeSetService()
    
public  voidwriteIOR(IOR ior)
     Writes an IOR to the output.
public  voidwriteNull()
     Writes a null to the packet.
public  voidwriteNullIOR()
     Writes a null IOR to the packet.
public  voidwriteRequestServiceControlList()
    
public  voidwriteString(String v)
     Writes a string to the packet.
public  voidwrite_Object(org.omg.CORBA.Object obj)
     Writes a CORBA object to the output stream.
public  voidwrite_Principal(org.omg.CORBA.Principal principal)
    
public  voidwrite_TypeCode(TypeCode tc)
     Writes a CORBA typecode to the output stream.
public  voidwrite_abstract_interface(java.lang.Object obj)
     Writes a CORBA abstract interface to the output stream.
public  voidwrite_any(Any any)
    
public  voidwrite_boolean(boolean v)
    
public  voidwrite_boolean_array(boolean[] value, int offset, int length)
     Writes a sequence of booleans to the output stream.
public  voidwrite_char(char v)
     Writes a 8-bit char.
public  voidwrite_char_array(char[] value, int offset, int length)
     Writes a sequence of 8-bit characters to the output stream.
public  voidwrite_double(double v)
     Writes a 64-bit double.
public  voidwrite_double_array(double[] value, int offset, int length)
     Writes a sequence of doubles to the output stream.
public  voidwrite_float(float v)
     Writes a 32-bit float.
public  voidwrite_float_array(float[] value, int offset, int length)
     Writes a sequence of floats to the output stream.
public  voidwrite_long(int v)
    
public  voidwrite_long_array(int[] value, int offset, int length)
     Writes a sequence of CORBA long (Java int) to the output stream.
public  voidwrite_longlong(long v)
    
public  voidwrite_longlong_array(long[] value, int offset, int length)
     Writes a sequence of CORBA long long (Java long) to the output stream.
public  voidwrite_octet(byte v)
     Writes a 8-bit byte.
public  voidwrite_octet_array(byte[] value, int offset, int length)
     Writes a sequence of bytes to the output stream.
public  voidwrite_short(short v)
     Writes a 16-bit short.
public  voidwrite_short_array(short[] value, int offset, int length)
     Writes a sequence of shorts to the output stream.
public  voidwrite_string(String a)
     Writes a sequence of 8-bit characters to the output stream.
public  voidwrite_ulong(int v)
    
public  voidwrite_ulong_array(int[] value, int offset, int length)
     Writes a sequence of CORBA unsigned long (Java int) to the output stream.
public  voidwrite_ulonglong(long v)
    
public  voidwrite_ulonglong_array(long[] value, int offset, int length)
     Writes a sequence of CORBA long long (Java long) to the output stream.
public  voidwrite_ushort(short v)
     Writes a 16-bit short.
public  voidwrite_ushort_array(short[] value, int offset, int length)
     Writes a sequence of unsigned shorts to the output stream.
public  voidwrite_value(Serializable obj, Class javaType)
    
public  voidwrite_value(Serializable obj)
    
public  voidwrite_wchar(char v)
     Writes a 16-bit char.
public  voidwrite_wchar_array(char[] value, int offset, int length)
     Writes a sequence of 16-bit characters to the output stream.
public  voidwrite_wstring(String a)
     Writes a sequence of 8-bit characters to the output stream.

Field Detail
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)



_host
protected String _host(Code)



_nullSystemException
protected SystemException _nullSystemException(Code)



_out
protected MessageWriter _out(Code)



_port
protected int _port(Code)



_reader
protected IiopReader _reader(Code)



_type
protected int _type(Code)




Constructor Detail
IiopWriter
public IiopWriter()(Code)



IiopWriter
public IiopWriter(IiopWriter parent, MessageWriter out)(Code)




Method Detail
_call
public IiopReader _call() throws IOException(Code)



alignMethodArgs
public void alignMethodArgs()(Code)



create_input_stream
public org.omg.CORBA.portable.InputStream create_input_stream()(Code)



getContext
protected WriterContext getContext()(Code)



getHost
public String getHost()(Code)
Get the default host.



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()(Code)



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



writeCodeSetService
public void writeCodeSetService() throws IOException(Code)



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_value
public void write_value(Serializable obj, Class javaType)(Code)



write_value
public void write_value(Serializable obj)(Code)



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.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.