KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > communication > sms > SmsService


1 /**
2  * Copyright 2001-2004 The eXo platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  **/

5 package org.exoplatform.services.communication.sms;
6
7 import org.exoplatform.services.communication.sms.common.*;
8 import org.exoplatform.services.communication.sms.model.*;
9 import org.exoplatform.services.communication.sms.provider.Provider;
10 import org.exoplatform.services.communication.sms.provider.Sender;
11
12 /**
13  * @author Ove Ranheim (oranheim@yahoo.no)
14  * @since Jun 17, 2004 7:51:38 PM
15  */

16 public interface SmsService {
17
18     public Provider createProdatProvider(String JavaDoc username, String JavaDoc password);
19     
20     public Sender createSender(Provider provider);
21
22     public Messages createMessages();
23     
24     public Message createMessage();
25     
26     public Recipient createRecipient(String JavaDoc to);
27     
28     public boolean sendSms(Provider provider, Messages messages) throws CommunicationError, RequestException, ResponseException, ConvertException;
29
30 }
31
32
Popular Tags