summaryrefslogtreecommitdiff
path: root/src/traffic-incidents-service/org.genivi.trafficinfo.demo/src/org/genivi/trafficinfo/demo/communicationchannel/async2waycommchannel/Async2WayCommunicationChannelServer.java
blob: 38d5a6dc1047edf5dc0f2d2dd031e35c69ad2ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * 
 * Copyright (C) 2013 TomTom International B.V.
 * 
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 * 
 */
package org.genivi.trafficinfo.demo.communicationchannel.async2waycommchannel;


public interface Async2WayCommunicationChannelServer {
	public void sendResponse(long messageId, Object data);

	public void addRequestListener(String address, Async2WayCommunicationChannelDataReceptionListener requestListener);
	
    public void removeRequestListener(String address);
    
    public void removeRequestListener(Async2WayCommunicationChannelDataReceptionListener requestListener);
}