|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectesmska.transfer.GatewayInterpreter
public class GatewayInterpreter
Class that takes care of parsing gateway script files for extracting gateway info and sending messages.
| Constructor Summary | |
|---|---|
GatewayInterpreter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getErrorMessage()
Get the error message created when sending of the message failed. |
java.lang.String |
getGatewayMessage()
Get additional message from gateway. |
boolean |
sendMessage(SMS sms)
Send a message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GatewayInterpreter()
| Method Detail |
|---|
public boolean sendMessage(SMS sms)
sms - sms to be sent
public java.lang.String getErrorMessage()
java.lang.IllegalStateException - when called before sending any smspublic java.lang.String getGatewayMessage()
java.lang.IllegalStateException - when called before sending any sms
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||