org.apache.axis2.transport.sms.smpp
Class SMPPImplManager

java.lang.Object
  extended by org.apache.axis2.transport.sms.smpp.SMPPImplManager
All Implemented Interfaces:
SMSImplManager

public class SMPPImplManager
extends java.lang.Object
implements SMSImplManager


Field Summary
static java.lang.String DESTINATION_ADDRESS_NPI
           
static java.lang.String DESTINATION_ADDRESS_TON
           
protected  org.apache.commons.logging.Log log
          the reference to the actual commons logger to be used for log messages
static java.lang.String SOURCE_ADDRESS_NPI
           
static java.lang.String SOURCE_ADDRESS_TON
          SMPP implementation Constents
 
Constructor Summary
SMPPImplManager()
           
 
Method Summary
 SMSManager getSMSInManager()
          get the refferance to the SMSMeneger instance that the implimentaion has
 void sendSMS(SMSMessage sm)
          send the SMS that is passed as a parameter using the current implimentation (To know the Content of the SMSMessage Look in to the documantaion of the SMSMessage )
 void setSMSInManager(SMSManager manager)
          set the SMS manager that carries out SMS In task to the SMSImplimentaion
 void setTransportInDetails(org.apache.axis2.description.TransportInDescription transportInDetails)
          set the Transport in details that is needed for the implementation manager
 void setTransportOutDetails(org.apache.axis2.description.TransportOutDescription transportOutDetails)
          set the Transport out details that is needed for the implementation manager
 void start()
          start the Underlying SMS implmentation
 void stop()
          stop the Underlying SMS implementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.commons.logging.Log log
the reference to the actual commons logger to be used for log messages


SOURCE_ADDRESS_TON

public static java.lang.String SOURCE_ADDRESS_TON
SMPP implementation Constents


SOURCE_ADDRESS_NPI

public static java.lang.String SOURCE_ADDRESS_NPI

DESTINATION_ADDRESS_TON

public static java.lang.String DESTINATION_ADDRESS_TON

DESTINATION_ADDRESS_NPI

public static java.lang.String DESTINATION_ADDRESS_NPI
Constructor Detail

SMPPImplManager

public SMPPImplManager()
Method Detail

start

public void start()
Description copied from interface: SMSImplManager
start the Underlying SMS implmentation

Specified by:
start in interface SMSImplManager

stop

public void stop()
Description copied from interface: SMSImplManager
stop the Underlying SMS implementation

Specified by:
stop in interface SMSImplManager

setTransportInDetails

public void setTransportInDetails(org.apache.axis2.description.TransportInDescription transportInDetails)
                           throws org.apache.axis2.AxisFault
Description copied from interface: SMSImplManager
set the Transport in details that is needed for the implementation manager

Specified by:
setTransportInDetails in interface SMSImplManager
Throws:
org.apache.axis2.AxisFault

setTransportOutDetails

public void setTransportOutDetails(org.apache.axis2.description.TransportOutDescription transportOutDetails)
                            throws org.apache.axis2.AxisFault
Description copied from interface: SMSImplManager
set the Transport out details that is needed for the implementation manager

Specified by:
setTransportOutDetails in interface SMSImplManager
Throws:
org.apache.axis2.AxisFault

sendSMS

public void sendSMS(SMSMessage sm)
Description copied from interface: SMSImplManager
send the SMS that is passed as a parameter using the current implimentation (To know the Content of the SMSMessage Look in to the documantaion of the SMSMessage )

Specified by:
sendSMS in interface SMSImplManager
Parameters:
sm - SMSMessage to be send

setSMSInManager

public void setSMSInManager(SMSManager manager)
Description copied from interface: SMSImplManager
set the SMS manager that carries out SMS In task to the SMSImplimentaion

Specified by:
setSMSInManager in interface SMSImplManager

getSMSInManager

public SMSManager getSMSInManager()
Description copied from interface: SMSImplManager
get the refferance to the SMSMeneger instance that the implimentaion has

Specified by:
getSMSInManager in interface SMSImplManager
Returns:


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.