KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > communication > sms > provider > SmsMethod


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.provider;
6
7
8 /**
9  * @author Ove Ranheim (oranheim@yahoo.no)
10  * @since Jul 6, 2004 10:00:11 AM
11  */

12 final public class SmsMethod {
13     
14     final static public SmsMethod SOCKET_CLIENT = new SmsMethod("SOCKET_CLIENT");
15     final static public SmsMethod HTTP_CLIENT = new SmsMethod("HTTP_CLIENT");
16     
17     private String JavaDoc _name;
18     
19     public SmsMethod(String JavaDoc name) {
20         _name = name;
21     }
22     
23     public String JavaDoc toString() {
24         return _name;
25     }
26
27 }
28
Popular Tags