Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4f71d6511ad4f8dbb8e5fe82dd127a48ca9535f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*******************************************************************************
* Copyright (c) 2010 Composent, 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:
*   Composent, Inc. - initial API and implementation
******************************************************************************/
package org.eclipse.ecf.examples.remoteservices.hello;

import java.util.concurrent.Future;

import org.eclipse.ecf.remoteservice.IAsyncCallback;

/**
 * @since 2.0
 */
public interface IHelloAsync {

	public void helloAsync(String from, IAsyncCallback<String> callback);
	/**
	 * @since 4.0
	 */
	public Future<String> helloAsync(String from);

	/**
	 * @since 3.0
	 */
	public void helloMessageAsync(HelloMessage message, IAsyncCallback<String> callback);
	/**
	 * @since 4.0
	 */
	public Future<String> helloMessageAsync(HelloMessage message);

}

Back to the top