1 5 package org.exoplatform.services.communication.sms.adapter.prodat; 6 7 import org.exoplatform.services.communication.sms.adapter.Adapter; 8 import org.exoplatform.services.communication.sms.provider.*; 9 import org.exoplatform.services.communication.sms.provider.prodat.ProdatRequestImpl; 10 import org.exoplatform.services.communication.sms.provider.prodat.ProdatResponseImpl; 11 12 16 public class ProdatAdapterImpl implements Adapter { 17 18 private Provider _provider; 19 private SmsRequest _request; 20 private SmsResponse _response; 21 22 public ProdatAdapterImpl(Provider provider) { 23 _provider = provider; 24 _request = new ProdatRequestImpl(provider); 25 _response = new ProdatResponseImpl(provider); 26 } 27 28 public Provider getProvider() { 29 return _provider; 30 } 31 32 35 public SmsRequest getRequest() { 36 return _request; 37 } 38 39 42 public SmsResponse getResponse() { 43 return _response; 44 } 45 46 } | Popular Tags |