SMSLib 3.5.3

org.smslib.http
Class SkypeHTTPGateway

java.lang.Object
  extended by org.smslib.AGateway
      extended by org.smslib.http.SkypeHTTPGateway

public class SkypeHTTPGateway
extends AGateway

Gateway for BulkSMS bulk operator (http://www.bulksms.com) Outbound only - implements HTTP interface.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.smslib.AGateway
AGateway.AsyncEvents, AGateway.GatewayAttributes, AGateway.GatewayStatuses, AGateway.Protocols
 
Constructor Summary
SkypeHTTPGateway(java.lang.String id, java.lang.String myProviderHost, java.lang.String myPassword, java.lang.String myReply)
           
 
Method Summary
 int getQueueSchedulingInterval()
          Returns the Gateway Queue sending internal (in milliseconds).
 boolean sendMessage(OutboundMessage msg)
           
 void startGateway()
           
 void stopGateway()
           
 
Methods inherited from class org.smslib.AGateway
deleteMessage, getAttributes, getDeliveryErrorCode, getFrom, getGatewayId, getInboundMessageCount, getMyself, getOutboundMessageCount, getProtocol, getRestartCount, getStatus, incInboundMessageCount, incOutboundMessageCount, isInbound, isOutbound, queryBalance, queryCoverage, queryMessage, queryMessage, readMessage, readMessages, readPhonebook, sendMessages, sendUSSDCommand, sendUSSDCommand, sendUSSDRequest, setAttributes, setDeliveryErrorCode, setFrom, setInbound, setOutbound, setProtocol, setStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkypeHTTPGateway

public SkypeHTTPGateway(java.lang.String id,
                        java.lang.String myProviderHost,
                        java.lang.String myPassword,
                        java.lang.String myReply)
Method Detail

startGateway

public void startGateway()
                  throws TimeoutException,
                         GatewayException,
                         java.io.IOException,
                         java.lang.InterruptedException
Overrides:
startGateway in class AGateway
Throws:
TimeoutException
GatewayException
java.io.IOException
java.lang.InterruptedException

stopGateway

public void stopGateway()
                 throws TimeoutException,
                        GatewayException,
                        java.io.IOException,
                        java.lang.InterruptedException
Overrides:
stopGateway in class AGateway
Throws:
TimeoutException
GatewayException
java.io.IOException
java.lang.InterruptedException

sendMessage

public boolean sendMessage(OutboundMessage msg)
                    throws TimeoutException,
                           GatewayException,
                           java.io.IOException,
                           java.lang.InterruptedException
Overrides:
sendMessage in class AGateway
Throws:
TimeoutException
GatewayException
java.io.IOException
java.lang.InterruptedException

getQueueSchedulingInterval

public int getQueueSchedulingInterval()
Description copied from class: AGateway
Returns the Gateway Queue sending internal (in milliseconds). Should be defined in every actual Gateway implementation.

Specified by:
getQueueSchedulingInterval in class AGateway
Returns:
The scheduling interval (in milliseconds).

SMSLib 3.5.3

(c) 2002-2011, http://smslib.org