esmska.transfer
Class GatewayInterpreter

java.lang.Object
  extended by esmska.transfer.GatewayInterpreter

public class GatewayInterpreter
extends java.lang.Object

Class that takes care of parsing gateway script files for extracting gateway info and sending messages.


Constructor Summary
GatewayInterpreter()
           
 
Method Summary
 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

GatewayInterpreter

public GatewayInterpreter()
Method Detail

sendMessage

public boolean sendMessage(SMS sms)
                    throws java.lang.Exception
Send a message

Parameters:
sms - sms to be sent
Returns:
whether the message was sent successfully
Throws:
java.lang.Exception