summaryrefslogtreecommitdiffstats
blob: b68d865e52b60227d2c30f5fc7e67fe8fb1b1446 (plain)
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
/*
 * Copyright (c) 2013 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */
/*
 * Copyright (c) 2015 Tarun Gupta.
 * Licensed under the simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information.
 */

package com.isode.stroke.jingle;

import com.isode.stroke.elements.JinglePayload;
import com.isode.stroke.elements.JingleDescription;
import com.isode.stroke.elements.JingleTransportPayload;

public interface JingleSessionListener {

	public void handleSessionAcceptReceived(final JingleContentID id, JingleDescription des, JingleTransportPayload tr);
	public void handleSessionInfoReceived(JinglePayload payload);
	public void handleSessionTerminateReceived(JinglePayload.Reason reason);
	public void handleTransportAcceptReceived(final JingleContentID id, JingleTransportPayload tr);
	public void handleTransportInfoReceived(final JingleContentID id, JingleTransportPayload tr);
	public void handleTransportRejectReceived(final JingleContentID id, JingleTransportPayload tr);
	public void handleTransportReplaceReceived(final JingleContentID id, JingleTransportPayload tr);
	public void handleTransportInfoAcknowledged(final String id);
}