From b9135c651bc115756170900379c8157b2f6cf7d5 Mon Sep 17 00:00:00 2001 From: mcombellack Date: Sat, 13 Jun 2009 21:03:34 +0000 Subject: 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 --- .../main/java/scatours/smsgateway/SMSGateway.java | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sandbox/travelsample/launchers/notification-ws-launcher/src/main/java/scatours/smsgateway/SMSGateway.java (limited to 'sandbox/travelsample') 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); +} -- cgit v1.2.3