|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NonBlockingSenderDestination
This interface facilitates the transmission of messages without blocking the main event thread.
| Method Summary | ||
|---|---|---|
int |
send()
Sends a message to this destination. |
|
int |
send(Message message)
Sends a message to this destination. |
|
| Methods inherited from interface net.rim.device.api.io.messaging.SenderDestination |
|---|
cancel, cancelAllCancellable, createByteMessage, createStreamMessage |
| Methods inherited from interface net.rim.device.api.io.messaging.Destination |
|---|
destroy, getUri, pause, release, resume |
| Method Detail |
|---|
int send(Message message)
throws MessageFailureException
MessageListener
if one was specified in the createNonBlockingSenderDestination method.
message - The message to send.
MessageFailureException - If the message delivery fails.
int send()
throws MessageFailureException
MessageListener
if one was specified in the createNonBlockingSenderDestination method.
MessageFailureException - If the message delivery fails.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal