|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.arch.wctp.WctpFactory | +--com.arch.wctp.WctpEnterpriseOperations
WctpEnterpriseOperations
Contains functionality to format WCTP Enterprise packets.
This is beta software that is still in development. Use at your own risk.
New from the previous version 1.1 Beta:
* The method versionQuery(String, boolean) has been added to allow
the user to specify if DTDs should be listed.
Copyright 2000-2001, Arch Wireless Holdings, Inc.
Constructor Summary | |
WctpEnterpriseOperations()
WctpEnterpriseOperations constructor comment. |
Method Summary | |
java.lang.String |
failure(java.lang.String errorCode,
java.lang.String errorText,
java.lang.String messageText)
Formats the WCTP packet for a Failure |
java.lang.String |
pollForMessages(java.lang.String pollerID,
java.lang.String securityCode,
int maxMessagesInBatch)
Formats the WCTP packet for a Poll For Messages |
java.lang.String |
submitMcrRequest(java.lang.String recipientID,
java.lang.String messageID,
java.lang.String senderID,
java.lang.String messageText,
java.lang.String[] choices)
Insert the method's description here. |
java.lang.String |
submitMcrRequest(java.lang.String recipientID,
java.lang.String messageID,
java.lang.String senderID,
java.lang.String messageText,
java.lang.String[] choices,
java.lang.String sendResponsesToID)
Formats the WCTP packet for a submitRequest |
java.lang.String |
submitRequest(java.lang.String recipientID,
java.lang.String payload,
java.lang.String senderID,
java.lang.String sendResponsesToID,
java.lang.String messageID)
Formats the WCTP packet for a submitRequest |
java.lang.String |
success(java.lang.String successCode,
java.lang.String successText,
java.lang.String messageText)
Formats the WCTP packet for a Success |
java.lang.String |
versionQuery(java.lang.String inquirer)
This method formats a WCTP packet for a VersionQuery. |
java.lang.String |
versionQuery(java.lang.String inquirer,
boolean listDTDs)
This method formats a WCTP packet for a VersionQuery. |
Methods inherited from class com.arch.wctp.WctpFactory |
convertAll,
convertAmp,
convertApos,
convertCR,
convertGreaterThan,
convertLessThan,
convertLF,
convertQuote,
getTimestamp,
readByteResponse,
readResponse,
sendWctpPacket,
sendWctpPacket,
sendWctpPacket |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public WctpEnterpriseOperations()
Method Detail |
public java.lang.String failure(java.lang.String errorCode, java.lang.String errorText, java.lang.String messageText)
errorCode
- the error codeerrorText
- the error textmessageText
- the text to include inside the failure tagpublic java.lang.String pollForMessages(java.lang.String pollerID, java.lang.String securityCode, int maxMessagesInBatch)
pollerID
- securityCode
- maxMessagesInBatch
- public java.lang.String submitMcrRequest(java.lang.String recipientID, java.lang.String messageID, java.lang.String senderID, java.lang.String messageText, java.lang.String[] choices)
recipientID
- java.lang.StringmessageID
- java.lang.StringsenderID
- java.lang.StringmessageText
- java.lang.Stringchoices
- java.lang.String[]notify
- booleanpublic java.lang.String submitMcrRequest(java.lang.String recipientID, java.lang.String messageID, java.lang.String senderID, java.lang.String messageText, java.lang.String[] choices, java.lang.String sendResponsesToID)
recipientID
- identifies the recipient of the message (i.e. pager number)messageID
- message reference numbersenderID
- the sender of the message (i.e. pager number, email address)public java.lang.String submitRequest(java.lang.String recipientID, java.lang.String payload, java.lang.String senderID, java.lang.String sendResponsesToID, java.lang.String messageID)
recipientID
- identifies the recipient of the message (i.e. pager number)messageID
- message reference numberthe
- payloadsenderID
- the sender of the message (i.e. pager number, email address)sendResponsesToID
- the destination where a receipt should be pushed back to, or null if you do not
want thispublic java.lang.String success(java.lang.String successCode, java.lang.String successText, java.lang.String messageText)
successCode
- the error codesuccessText
- the error textmessageText
- the text to include inside the success tagpublic java.lang.String versionQuery(java.lang.String inquirer)
inquirer
- java.lang.String your domain or a some other means to identify yourself.public java.lang.String versionQuery(java.lang.String inquirer, boolean listDTDs)
inquirer
- java.lang.String your domain or a some other means to identify yourself.listDTDs
- boolean true if you want to list supported DTDs
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |