|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientMessage
A ClientMessage
Method Summary | |
---|---|
void |
acknowledge()
|
int |
getDeliveryCount()
|
void |
saveToOutputStream(java.io.OutputStream out)
Save the content of the message to the OutputStream. |
void |
setDeliveryCount(int deliveryCount)
|
void |
setOutputStream(java.io.OutputStream out)
Sets the OutputStream that will receive the content of a message received in a non blocking way |
boolean |
waitOutputStreamCompletion(long timeMilliseconds)
Wait the outputStream completion of the message. |
Method Detail |
---|
int getDeliveryCount()
void setDeliveryCount(int deliveryCount)
void setOutputStream(java.io.OutputStream out) throws MessagingException
MessagingException
void saveToOutputStream(java.io.OutputStream out) throws MessagingException
MessagingException
boolean waitOutputStreamCompletion(long timeMilliseconds) throws MessagingException
timeMilliseconds
- - 0 means wait forever
MessagingException
void acknowledge() throws MessagingException
MessagingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |