|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.jms.message.MessageImpl
com.caucho.jms.message.ObjectMessageImpl
public class ObjectMessageImpl
An object message.
| Field Summary |
|---|
| Fields inherited from class com.caucho.jms.message.MessageImpl |
|---|
L, log |
| Fields inherited from interface javax.jms.Message |
|---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
| Constructor Summary | |
|---|---|
ObjectMessageImpl()
|
|
ObjectMessageImpl(ObjectMessage msg)
|
|
ObjectMessageImpl(ObjectMessageImpl msg)
|
|
ObjectMessageImpl(java.io.Serializable value)
|
|
| Method Summary | |
|---|---|
java.io.InputStream |
bodyToInputStream()
Serialize the body to an input stream. |
void |
clearBody()
Clears the body |
MessageImpl |
copy()
|
java.io.Serializable |
getObject()
Reads the object from the stream. |
MessageType |
getType()
Returns the type enumeration. |
void |
readBody(java.io.InputStream is)
Read the body from an input stream. |
void |
setObject(java.io.Serializable o)
Writes the object to the stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectMessageImpl()
public ObjectMessageImpl(ObjectMessage msg)
throws JMSException
JMSExceptionpublic ObjectMessageImpl(ObjectMessageImpl msg)
public ObjectMessageImpl(java.io.Serializable value)
throws JMSException
JMSException| Method Detail |
|---|
public MessageType getType()
getType in class MessageImpl
public void setObject(java.io.Serializable o)
throws JMSException
setObject in interface ObjectMessageJMSException
public java.io.Serializable getObject()
throws JMSException
getObject in interface ObjectMessageJMSException
public void clearBody()
throws JMSException
clearBody in interface MessageclearBody in class MessageImplJMSExceptionpublic MessageImpl copy()
copy in class MessageImpl
public java.io.InputStream bodyToInputStream()
throws java.io.IOException
bodyToInputStream in class MessageImpljava.io.IOException
public void readBody(java.io.InputStream is)
throws java.io.IOException,
JMSException
readBody in class MessageImpljava.io.IOException
JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||