diff options
author | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-12 21:53:48 +0000 |
---|---|---|
committer | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-12 21:53:48 +0000 |
commit | a56ad24846d364b48f8cc1d78d94bc10cd9f0aff (patch) | |
tree | b29c93e552ef61ef890da32196d6bc9ef87f1e96 /sandbox/travelsample/services/smsgateway-jms-service/src/main/java/scatours/smsgateway/SMSGateway.java | |
parent | 4818f9680257898f1d96421d5102c0cd762ccc80 (diff) |
Initial commit of notification service that uses a JMS binding
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@793413 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/services/smsgateway-jms-service/src/main/java/scatours/smsgateway/SMSGateway.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sandbox/travelsample/services/smsgateway-jms-service/src/main/java/scatours/smsgateway/SMSGateway.java b/sandbox/travelsample/services/smsgateway-jms-service/src/main/java/scatours/smsgateway/SMSGateway.java new file mode 100644 index 0000000000..a900dfecee --- /dev/null +++ b/sandbox/travelsample/services/smsgateway-jms-service/src/main/java/scatours/smsgateway/SMSGateway.java @@ -0,0 +1,31 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package scatours.smsgateway; + +import java.rmi.Remote; +import java.rmi.RemoteException; + + +/** + * A gateway to send SMS messages. + */ +public interface SMSGateway extends Remote { + boolean sendSMS(String fromNumber, String toNumber, String text) throws RemoteException; +} |