Java Doc for StreamMessageImpl.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » jms » message » 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.jms.message 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.jms.message.MessageImpl
      com.caucho.jms.message.StreamMessageImpl

StreamMessageImpl
public class StreamMessageImpl extends MessageImpl implements StreamMessage(Code)
A stream message.



Constructor Summary
public  StreamMessageImpl()
    
 StreamMessageImpl(StreamMessage stream)
    
 StreamMessageImpl(StreamMessageImpl stream)
    

Method Summary
public  InputStreambodyToInputStream()
     Serialize the body to an input stream.
public  voidclearBody()
     Clears the message and puts it into write mode.
public  MessageImplcopy()
    
protected  voidcopy(StreamMessageImpl newMsg)
    
public  MessageTypegetType()
     Returns the type enumeration.
public  voidreadBody(InputStream is)
     Read the body from an input stream.
public  booleanreadBoolean()
     Read a boolean from the stream.
public  bytereadByte()
     Read a byte from the stream.
public  intreadBytes(byte[] value)
     Read a byte array object from the stream.
public  charreadChar()
     Read a character object from the stream.
public  doublereadDouble()
     Read a double from the stream.
public  floatreadFloat()
     Read a float from the stream.
public  intreadInt()
     Read an integer from the stream.
public  longreadLong()
     Read a long from the stream.
public  ObjectreadObject()
     Reads the next object.
public  shortreadShort()
     Read a short from the stream.
public  StringreadString()
     Read a string from the stream.
public  voidreset()
     Set the stream for reading.
public  voidsetReceive()
     Sets the body for reading.
public  StringtoString()
    
public  voidwriteBoolean(boolean b)
     Writes a boolean to the stream.
public  voidwriteByte(byte b)
     Writes a byte to the stream.
public  voidwriteBytes(byte[] buf)
     Writes a byte array to the stream.
public  voidwriteBytes(byte[] buf, int offset, int length)
     Writes a byte array to the stream.
public  voidwriteChar(char ch)
     Writes a character to the stream.
public  voidwriteDouble(double d)
     Writes a double to the stream.
public  voidwriteFloat(float f)
     Writes a float to the stream.
public  voidwriteInt(int i)
     Writes an integer to the stream.
public  voidwriteLong(long l)
     Writes a long to the stream.
public  voidwriteObject(Object obj)
     Writes the next object.
public  voidwriteShort(short s)
     Writes a short to the stream.
public  voidwriteString(String s)
     Writes a string to the stream.


Constructor Detail
StreamMessageImpl
public StreamMessageImpl()(Code)



StreamMessageImpl
StreamMessageImpl(StreamMessage stream) throws JMSException(Code)



StreamMessageImpl
StreamMessageImpl(StreamMessageImpl stream)(Code)




Method Detail
bodyToInputStream
public InputStream bodyToInputStream() throws IOException(Code)
Serialize the body to an input stream.



clearBody
public void clearBody() throws JMSException(Code)
Clears the message and puts it into write mode.



copy
public MessageImpl copy()(Code)



copy
protected void copy(StreamMessageImpl newMsg)(Code)



getType
public MessageType getType()(Code)
Returns the type enumeration.



readBody
public void readBody(InputStream is) throws IOException, JMSException(Code)
Read the body from an input stream.



readBoolean
public boolean readBoolean() throws JMSException(Code)
Read a boolean from the stream.



readByte
public byte readByte() throws JMSException(Code)
Read a byte from the stream.



readBytes
public int readBytes(byte[] value) throws JMSException(Code)
Read a byte array object from the stream.



readChar
public char readChar() throws JMSException(Code)
Read a character object from the stream.



readDouble
public double readDouble() throws JMSException(Code)
Read a double from the stream.



readFloat
public float readFloat() throws JMSException(Code)
Read a float from the stream.



readInt
public int readInt() throws JMSException(Code)
Read an integer from the stream.



readLong
public long readLong() throws JMSException(Code)
Read a long from the stream.



readObject
public Object readObject() throws JMSException(Code)
Reads the next object.



readShort
public short readShort() throws JMSException(Code)
Read a short from the stream.



readString
public String readString() throws JMSException(Code)
Read a string from the stream.



reset
public void reset() throws JMSException(Code)
Set the stream for reading.



setReceive
public void setReceive() throws JMSException(Code)
Sets the body for reading.



toString
public String toString()(Code)



writeBoolean
public void writeBoolean(boolean b) throws JMSException(Code)
Writes a boolean to the stream.



writeByte
public void writeByte(byte b) throws JMSException(Code)
Writes a byte to the stream.



writeBytes
public void writeBytes(byte[] buf) throws JMSException(Code)
Writes a byte array to the stream.



writeBytes
public void writeBytes(byte[] buf, int offset, int length) throws JMSException(Code)
Writes a byte array to the stream.



writeChar
public void writeChar(char ch) throws JMSException(Code)
Writes a character to the stream.



writeDouble
public void writeDouble(double d) throws JMSException(Code)
Writes a double to the stream.



writeFloat
public void writeFloat(float f) throws JMSException(Code)
Writes a float to the stream.



writeInt
public void writeInt(int i) throws JMSException(Code)
Writes an integer to the stream.



writeLong
public void writeLong(long l) throws JMSException(Code)
Writes a long to the stream.



writeObject
public void writeObject(Object obj) throws JMSException(Code)
Writes the next object.



writeShort
public void writeShort(short s) throws JMSException(Code)
Writes a short to the stream.



writeString
public void writeString(String s) throws JMSException(Code)
Writes a string to the stream.



Fields inherited from com.caucho.jms.message.MessageImpl
final protected static L10N L(Code)(Java Doc)
final protected static Logger log(Code)(Java Doc)

Methods inherited from com.caucho.jms.message.MessageImpl
public void acknowledge() throws JMSException(Code)(Java Doc)
public InputStream bodyToInputStream() throws IOException(Code)(Java Doc)
protected void checkBodyReadable() throws JMSException(Code)(Java Doc)
protected void checkBodyWriteable() throws JMSException(Code)(Java Doc)
protected void checkHeaderWriteable() throws JMSException(Code)(Java Doc)
protected void checkPropertyWriteable() throws JMSException(Code)(Java Doc)
public void clearBody() throws JMSException(Code)(Java Doc)
public void clearProperties() throws JMSException(Code)(Java Doc)
public MessageImpl copy()(Code)(Java Doc)
protected void copy(MessageImpl newMsg)(Code)(Java Doc)
public boolean getBooleanProperty(String name) throws JMSException(Code)(Java Doc)
public byte getByteProperty(String name) throws JMSException(Code)(Java Doc)
public double getDoubleProperty(String name) throws JMSException(Code)(Java Doc)
public float getFloatProperty(String name) throws JMSException(Code)(Java Doc)
public int getIntProperty(String name) throws JMSException(Code)(Java Doc)
public String getJMSCorrelationID() throws JMSException(Code)(Java Doc)
public byte[] getJMSCorrelationIDAsBytes() throws JMSException(Code)(Java Doc)
public int getJMSDeliveryMode() throws JMSException(Code)(Java Doc)
public Destination getJMSDestination() throws JMSException(Code)(Java Doc)
public long getJMSExpiration() throws JMSException(Code)(Java Doc)
public String getJMSMessageID()(Code)(Java Doc)
public int getJMSPriority() throws JMSException(Code)(Java Doc)
public boolean getJMSRedelivered()(Code)(Java Doc)
public Destination getJMSReplyTo() throws JMSException(Code)(Java Doc)
public long getJMSTimestamp() throws JMSException(Code)(Java Doc)
public String getJMSType() throws JMSException(Code)(Java Doc)
public long getLongProperty(String name) throws JMSException(Code)(Java Doc)
public Object getObjectProperty(String name) throws JMSException(Code)(Java Doc)
public HashMap<String, Object> getProperties()(Code)(Java Doc)
public Enumeration getPropertyNames() throws JMSException(Code)(Java Doc)
public short getShortProperty(String name) throws JMSException(Code)(Java Doc)
public String getStringProperty(String name) throws JMSException(Code)(Java Doc)
public MessageType getType()(Code)(Java Doc)
public static boolean isReserved(String name)(Code)(Java Doc)
public InputStream propertiesToInputStream() throws IOException(Code)(Java Doc)
public boolean propertyExists(String name) throws JMSException(Code)(Java Doc)
public void readBody(InputStream is) throws IOException, JMSException(Code)(Java Doc)
public void readProperties(InputStream is) throws IOException, JMSException(Code)(Java Doc)
protected void setBodyReadOnly()(Code)(Java Doc)
public void setBooleanProperty(String name, boolean value) throws JMSException(Code)(Java Doc)
public void setByteProperty(String name, byte value) throws JMSException(Code)(Java Doc)
public void setDoubleProperty(String name, double value) throws JMSException(Code)(Java Doc)
public void setFloatProperty(String name, float value) throws JMSException(Code)(Java Doc)
public void setIntProperty(String name, int value) throws JMSException(Code)(Java Doc)
public void setJMSCorrelationID(String id) throws JMSException(Code)(Java Doc)
public void setJMSCorrelationIDAsBytes(byte[] id) throws JMSException(Code)(Java Doc)
public void setJMSDeliveryMode(int deliveryMode) throws JMSException(Code)(Java Doc)
public void setJMSDestination(Destination destination) throws JMSException(Code)(Java Doc)
public void setJMSExpiration(long time) throws JMSException(Code)(Java Doc)
public void setJMSMessageID(String id)(Code)(Java Doc)
public void setJMSPriority(int priority) throws JMSException(Code)(Java Doc)
public void setJMSRedelivered(boolean isRedelivered)(Code)(Java Doc)
public void setJMSReplyTo(Destination replyTo) throws JMSException(Code)(Java Doc)
public void setJMSTimestamp(long time) throws JMSException(Code)(Java Doc)
public void setJMSType(String type) throws JMSException(Code)(Java Doc)
public void setLongProperty(String name, long value) throws JMSException(Code)(Java Doc)
public void setObjectProperty(String name, Object value) throws JMSException(Code)(Java Doc)
public void setReceive() throws JMSException(Code)(Java Doc)
public void setSession(JmsSession session)(Code)(Java Doc)
public void setShortProperty(String name, short value) throws JMSException(Code)(Java Doc)
public void setStringProperty(String name, String value) throws JMSException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void writeBody(OutputStream os) throws IOException(Code)(Java Doc)
public void writeProperties(OutputStream os) throws IOException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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