diff options
Diffstat (limited to 'plugins/com.windriver.tcf.api/src/com/windriver/tcf/api/protocol/IService.java')
-rw-r--r-- | plugins/com.windriver.tcf.api/src/com/windriver/tcf/api/protocol/IService.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/com.windriver.tcf.api/src/com/windriver/tcf/api/protocol/IService.java b/plugins/com.windriver.tcf.api/src/com/windriver/tcf/api/protocol/IService.java new file mode 100644 index 000000000..d6eb3d4f1 --- /dev/null +++ b/plugins/com.windriver.tcf.api/src/com/windriver/tcf/api/protocol/IService.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2007 Wind River Systems, Inc. and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Wind River Systems - initial API and implementation + *******************************************************************************/ +package com.windriver.tcf.api.protocol; + +/** + * Base interface for all service interfaces. A client can get list of available services + * by calling Peer.getServices() + */ + +public interface IService { + + /** + * Get unique name of this service. + * @return service name. + */ + String getName(); +} |