| Package | Description |
|---|---|
| esmska.data | |
| esmska.gui | |
| esmska.persistence | |
| esmska.transfer |
| Modifier and Type | Method and Description |
|---|---|
SMS |
Queue.extractSMS(java.lang.String id,
boolean remove)
Extract all message fragments (according to ID) from the queue and join them
into a full message.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<SMS> |
Envelope.generate()
generate list of sms's to send
|
java.util.List<SMS> |
Queue.getAll()
Get all SMS in the queue.
|
java.util.List<SMS> |
Queue.getAll(java.lang.String gatewayName)
Get all SMS in the queue for specified gateway.
|
java.util.List<SMS> |
Queue.getAllWithId(java.lang.String id)
Get all SMS (fragments) in the queue with a specified ID.
|
java.util.List<SMS> |
Queue.getAllWithStatus(SMS.Status status)
Get a collection of SMS with particular status.
|
java.util.List<SMS> |
Queue.getAllWithStatus(SMS.Status status,
java.lang.String gatewayName)
Get a collection of SMS with particular status and gateway.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Queue.add(SMS sms)
Add new SMS to the queue.
|
boolean |
Queue.contains(SMS sms)
Checks whether the SMS is in the queue.
|
long |
Queue.getSMSDelay(SMS sms)
Return current delay for specified sms.
|
void |
Queue.movePosition(SMS sms,
int positionDelta)
Move SMS in the queue to another position.
|
boolean |
Queue.remove(SMS sms)
Remove SMS from the queue.
|
void |
Queue.setSMSFailed(SMS sms)
Mark SMS as failed during sending.
|
void |
Queue.setSMSSending(SMS sms)
Mark SMS as currently being sent.
|
void |
Queue.setSMSSent(SMS sms)
Mark the SMS as successfully sent.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Queue.addAll(java.util.Collection<SMS> collection)
Add collection of new SMS to the queue.
|
void |
Queue.addValuedListener(ValuedListener<Queue.Events,SMS> valuedListener) |
void |
Queue.removeValuedListener(ValuedListener<Queue.Events,SMS> valuedListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
GatewayMessageFrame.addErrorMsg(SMS sms)
Add a message about SMS sending error
|
void |
GatewayMessageFrame.addImageCodeMsg(SMS sms,
java.awt.event.ActionListener callback)
Add a message with a security image that needs to be recognized
|
protected java.lang.String |
GatewayMessage.extractRecipient(SMS sms)
Extract recipient (name, number, gateway) from SMS and put it to an
unified format, to be used in the task pane.
|
java.lang.String |
GatewayErrorMessage.getDescription(SMS sms)
Get short description message of the problem mentioned in provided SMS.
|
java.lang.String |
GatewayErrorMessage.getHelp(SMS sms)
Get help message related to the problem stored in the provided SMS.
|
java.lang.String |
GatewayErrorMessage.getThirdPartyDescription(SMS sms)
Get the third-party problem description stored in the provided SMS.
|
boolean |
GUIImageCodeResolver.resolveImageCode(SMS sms)
This method must not be called from EDT.
|
void |
SMSPanel.setSMS(SMS sms)
set sms to display and edit
|
GatewayMessageFrame.TaskPane |
GatewayErrorMessage.showErrorMsg(SMS sms)
Initialize this message to show an SMS error
|
GatewayMessageFrame.TaskPane |
GatewayImageCodeMessage.showImageCodeMsg(SMS sms)
Initialize this message to show an image code request message
|
| Modifier and Type | Method and Description |
|---|---|
void |
QueuePanel.addValuedListener(ValuedListener<QueuePanel.Events,SMS> valuedListener) |
void |
QueuePanel.removeValuedListener(ValuedListener<QueuePanel.Events,SMS> valuedListener) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.ArrayList<SMS> |
ImportManager.importQueue(java.io.File file)
Import sms queue from file
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ExportManager.exportQueue(java.util.Collection<SMS> queue,
java.io.OutputStream out)
Export sms queue
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultImageCodeResolver.resolveImageCode(SMS sms)
For description see
ImageCodeResolver.resolveImageCode(esmska.data.SMS). |
boolean |
ImageCodeResolver.resolveImageCode(SMS sms)
Resolve security image and provide security code in textual form if
possible.
|
boolean |
GatewayInterpreter.sendMessage(SMS sms)
Send a message
|
| Constructor and Description |
|---|
GatewayExecutor(SMS sms) |