summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample
diff options
context:
space:
mode:
authormcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2009-06-13 21:03:34 +0000
committermcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2009-06-13 21:03:34 +0000
commitb9135c651bc115756170900379c8157b2f6cf7d5 (patch)
tree7f7f0e795d412262297b6b25f384d750e739bcfb /sandbox/travelsample
parent31c54dc253622bed21ed5c4ee355f07c152bf1d2 (diff)
Need to add a copy of the SMS Gateway Java interface otherwise the code does not run
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@784475 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample')
-rw-r--r--sandbox/travelsample/launchers/notification-ws-launcher/src/main/java/scatours/smsgateway/SMSGateway.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/sandbox/travelsample/launchers/notification-ws-launcher/src/main/java/scatours/smsgateway/SMSGateway.java b/sandbox/travelsample/launchers/notification-ws-launcher/src/main/java/scatours/smsgateway/SMSGateway.java
new file mode 100644
index 0000000000..b96d0b2473
--- /dev/null
+++ b/sandbox/travelsample/launchers/notification-ws-launcher/src/main/java/scatours/smsgateway/SMSGateway.java
@@ -0,0 +1,30 @@
+/*
+ * 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 org.osoa.sca.annotations.Remotable;
+
+/**
+ * A gateway to send SMS messages.
+ */
+@Remotable
+public interface SMSGateway {
+ boolean sendSMS(String fromNumber, String toNumber, String text);
+}