Package jade.imtp.leap.sms
Class PhoneBasedSMSManager
- java.lang.Object
-
- jade.imtp.leap.sms.SMSManager
-
- jade.imtp.leap.sms.PhoneBasedSMSManager
-
public class PhoneBasedSMSManager extends SMSManager
- Author:
- Giovanni Caire - TILAB
-
-
Field Summary
-
Fields inherited from class jade.imtp.leap.sms.SMSManager
BINARY, IMPLEMENTATION, myProperties, TEXT, UNDEFINED
-
-
Constructor Summary
Constructors Constructor Description PhoneBasedSMSManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinit(Properties pp)protected voidsend(String msisdn, int port, byte type, byte[] data)Send an SMS of a given type (BINARY or TEXT) to a given msisdn on a given port.voidshutDown()Shut down this JICP server-
Methods inherited from class jade.imtp.leap.sms.SMSManager
getInstance, sendBinaryMessage, sendTextMessage
-
-
-
-
Method Detail
-
init
protected void init(Properties pp) throws ICPException
- Overrides:
initin classSMSManager- Throws:
ICPException
-
shutDown
public void shutDown()
Shut down this JICP server
-
send
protected void send(String msisdn, int port, byte type, byte[] data)
Description copied from class:SMSManagerSend an SMS of a given type (BINARY or TEXT) to a given msisdn on a given port. Note that SMS are not reliable --> Being sure that the SMS has been sent does not guarantee that the destination msisdn receives it --> This is why this method does not throw any exception- Specified by:
sendin classSMSManager
-
-