Java Doc for BytesMessageImpl.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
.BytesMessageImpl
BytesMessageImpl
public
class BytesMessageImpl extends
MessageImpl
implements BytesMessage
(Code)
A byte-stream message.
Constructor Summary
public
BytesMessageImpl
()
BytesMessageImpl
(BytesMessage bytes)
BytesMessageImpl
(
BytesMessageImpl
bytes)
Method Summary
public
InputStream
bodyToInputStream
()
Serialize the body to an input stream.
public
void
clearBody
()
Clears the message and puts it into write mode.
public
MessageImpl
copy
()
protected
void
copy
(
BytesMessageImpl
newMsg)
public
long
getBodyLength
()
protected
ReadStream
getReadStream
()
public
MessageType
getType
()
Returns the type enumeration.
protected
WriteStream
getWriteStream
()
public
void
readBody
(
InputStream
is)
Read the body from an input stream.
public
boolean
readBoolean
()
Read a boolean from the stream.
public
byte
readByte
()
Read a byte from the stream.
public
int
readBytes
(byte[] value)
Read a byte array object from the stream.
public
int
readBytes
(byte[] value, int length)
Read a byte array object from the stream.
public
char
readChar
()
Read a character object from the stream.
public
double
readDouble
()
Read a double from the stream.
public
float
readFloat
()
Read a float from the stream.
public
int
readInt
()
Read an integer from the stream.
public
long
readLong
()
Read a long from the stream.
public
short
readShort
()
Read a short from the stream.
public
String
readUTF
()
Read a string from the stream.
public
int
readUnsignedByte
()
Read an unsigned byte from the stream.
public
int
readUnsignedShort
()
Read an unsigned short from the stream.
public
void
reset
()
Set the stream for reading.
public
void
setReceive
()
Sets the body for reading.
public
String
toString
()
public
void
writeBoolean
(boolean b)
Writes a boolean to the stream.
public
void
writeByte
(byte b)
Writes a byte to the stream.
public
void
writeBytes
(byte[] buf)
Writes a byte array to the stream.
public
void
writeBytes
(byte[] buf, int offset, int length)
Writes a byte array to the stream.
public
void
writeChar
(char ch)
Writes a character to the stream.
public
void
writeDouble
(double d)
Writes a double to the stream.
public
void
writeFloat
(float f)
Writes a float to the stream.
public
void
writeInt
(int i)
Writes an integer to the stream.
public
void
writeLong
(long l)
Writes a long to the stream.
public
void
writeObject
(
Object
obj)
Writes the next object.
public
void
writeShort
(short s)
Writes a short to the stream.
public
void
writeUTF
(
String
s)
Writes a string to the stream.
Constructor Detail
BytesMessageImpl
public
BytesMessageImpl()
(Code)
BytesMessageImpl
BytesMessageImpl(BytesMessage bytes) throws JMSException
(Code)
BytesMessageImpl
BytesMessageImpl(
BytesMessageImpl
bytes) throws JMSException
(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(
BytesMessageImpl
newMsg)
(Code)
getBodyLength
public
long getBodyLength() throws JMSException
(Code)
getReadStream
protected
ReadStream getReadStream() throws JMSException
(Code)
getType
public
MessageType
getType()
(Code)
Returns the type enumeration.
getWriteStream
protected
WriteStream getWriteStream() throws JMSException
(Code)
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.
readBytes
public
int readBytes(byte[] value, int length) 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.
readShort
public
short readShort() throws JMSException
(Code)
Read a short from the stream.
readUTF
public
String
readUTF() throws JMSException
(Code)
Read a string from the stream.
readUnsignedByte
public
int readUnsignedByte() throws JMSException
(Code)
Read an unsigned byte from the stream.
readUnsignedShort
public
int readUnsignedShort() throws JMSException
(Code)
Read an unsigned short 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.
writeUTF
public
void writeUTF(
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.