|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SenderDestination
Contains methods for the creation and cancellation of the outgoing messages. See Destination for more information.
| Method Summary | ||
|---|---|---|
void |
cancel(int messageId)
Attempts to cancel the transmission of a message, if possible. |
|
void |
cancelAllCancellable()
Attempts to cancel all queued messages. |
|
ByteMessage |
createByteMessage()
Creates a new ByteMessage used by this Destination. |
|
StreamMessage |
createStreamMessage()
Creates a new StreamMessage for this Destination. |
|
| Methods inherited from interface net.rim.device.api.io.messaging.Destination |
|---|
destroy, getUri, pause, release, resume |
| Method Detail |
|---|
ByteMessage createByteMessage()
ByteMessage used by this Destination.
ByteMessage of for this Destination.StreamMessage createStreamMessage()
StreamMessage for this Destination.
StreamMessage for this Destination
void cancel(int messageId)
throws MessagingException
messageId - The ID of the message to cancel.
MessagingException - The exception is thrown if invalid message ID is passed as a parametervoid cancelAllCancellable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.