org.apache.axis2.transport.sms.gsm
Class GSMImplManager

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

public class GSMImplManager
extends java.lang.Object
implements SMSImplManager

Manage the GSM implimentation of the SMS Transport To use this with the axis2 to it must be spcified as a implimentation class in the Axis2 XML following is a Sample configuration org.apache.axis2.transport.sms.gsm.GSMImplManager /dev/ttyUSB0 modem.ttyUSB0 115200 HUAWEI E220


Field Summary
protected  org.apache.commons.logging.Log log
          the reference to the actual commons logger to be used for log messages
 
Constructor Summary
GSMImplManager()
           
 
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

Constructor Detail

GSMImplManager

public GSMImplManager()
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

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

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

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.