|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ie.ncl.wap.push.WAPPush
public class WAPPush
Object used to send WAP Push Requests messages. The transport bearer used is Short Message Service (SMS).
Bookmark
,
ServiceIndicator
,
ServiceLoading
,
CacheOperation
,
OTASettings
Constructor Summary | |
---|---|
WAPPush(Sender sender)
Create a WAP Push connection. |
Method Summary | |
---|---|
void |
close()
Close the WAP Push connection. |
void |
connect()
Connect the underlying transport. |
static int |
extractTransactionIDFromDeliveryReceipt(Message msg)
This static method is used to check if a delivery receipt is one from a WAP Push message and if so, extract the Transaction ID. |
java.lang.String |
getLastSentMessageId()
The smsc id for the last message sent. |
void |
send(WSPRequest message,
Address address)
Send a WSPRequest to the specified address. |
void |
send(WSPRequest message,
Address destination,
Address source)
Send a WSPRequest to the specified address. |
void |
send(WSPRequest message,
Address destination,
Address source,
boolean registered)
Send a WSPRequest to the specified address. |
void |
send(WSPRequest message,
Address destination,
Address source,
boolean registered,
boolean confirmed)
Send a WSPRequest to the specified address. |
void |
send(WSPRequest message,
Address address,
boolean registered)
Send a WSPRequest to the specified address. |
void |
send(WSPRequest message,
Address destination,
boolean registered,
boolean confirmed)
Send a WSPRequest to the specified address. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WAPPush(Sender sender) throws ConnectionException
ConnectionException
Method Detail |
---|
public void close()
public void connect() throws ConnectionException
ConnectionException
public void send(WSPRequest message, Address destination, boolean registered, boolean confirmed) throws MessageException, ConnectionException, ie.ncl.wap.wsp.InvalidEncodingException, ie.ncl.net.pdu.EncoderException, ie.ncl.wap.wsp.UnImplementedException, java.io.IOException
MessageException
ConnectionException
ie.ncl.wap.wsp.InvalidEncodingException
ie.ncl.net.pdu.EncoderException
ie.ncl.wap.wsp.UnImplementedException
java.io.IOException
Bookmark
,
ServiceIndicator
,
ServiceLoading
,
CacheOperation
,
OTASettings
public void send(WSPRequest message, Address destination, Address source, boolean registered, boolean confirmed) throws MessageException, ConnectionException, ie.ncl.wap.wsp.InvalidEncodingException, ie.ncl.net.pdu.EncoderException, ie.ncl.wap.wsp.UnImplementedException, java.io.IOException
MessageException
ConnectionException
ie.ncl.wap.wsp.InvalidEncodingException
ie.ncl.net.pdu.EncoderException
ie.ncl.wap.wsp.UnImplementedException
java.io.IOException
Bookmark
,
ServiceIndicator
,
ServiceLoading
,
CacheOperation
,
OTASettings
public java.lang.String getLastSentMessageId()
public void send(WSPRequest message, Address address) throws MessageException, ConnectionException, ie.ncl.wap.wsp.InvalidEncodingException, ie.ncl.net.pdu.EncoderException, ie.ncl.wap.wsp.UnImplementedException, java.io.IOException
MessageException
ConnectionException
ie.ncl.wap.wsp.InvalidEncodingException
ie.ncl.net.pdu.EncoderException
ie.ncl.wap.wsp.UnImplementedException
java.io.IOException
Bookmark
,
ServiceIndicator
,
ServiceLoading
,
CacheOperation
,
OTASettings
public void send(WSPRequest message, Address destination, Address source) throws MessageException, ConnectionException, ie.ncl.wap.wsp.InvalidEncodingException, ie.ncl.net.pdu.EncoderException, ie.ncl.wap.wsp.UnImplementedException, java.io.IOException
MessageException
ConnectionException
ie.ncl.wap.wsp.InvalidEncodingException
ie.ncl.net.pdu.EncoderException
ie.ncl.wap.wsp.UnImplementedException
java.io.IOException
Bookmark
,
ServiceIndicator
,
ServiceLoading
,
CacheOperation
,
OTASettings
public void send(WSPRequest message, Address address, boolean registered) throws MessageException, ConnectionException, ie.ncl.wap.wsp.InvalidEncodingException, ie.ncl.net.pdu.EncoderException, ie.ncl.wap.wsp.UnImplementedException, java.io.IOException
MessageException
ConnectionException
ie.ncl.wap.wsp.InvalidEncodingException
ie.ncl.net.pdu.EncoderException
ie.ncl.wap.wsp.UnImplementedException
java.io.IOException
Bookmark
,
ServiceIndicator
,
ServiceLoading
,
CacheOperation
,
OTASettings
public void send(WSPRequest message, Address destination, Address source, boolean registered) throws MessageException, ConnectionException, ie.ncl.wap.wsp.InvalidEncodingException, ie.ncl.net.pdu.EncoderException, ie.ncl.wap.wsp.UnImplementedException, java.io.IOException
MessageException
ConnectionException
ie.ncl.wap.wsp.InvalidEncodingException
ie.ncl.net.pdu.EncoderException
ie.ncl.wap.wsp.UnImplementedException
java.io.IOException
Bookmark
,
ServiceIndicator
,
ServiceLoading
,
CacheOperation
,
OTASettings
public static int extractTransactionIDFromDeliveryReceipt(Message msg)
msg
-
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |