blob: f665ad52b9972514641d24bef55975e60b99b440 (
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
|
/*******************************************************************************
* Copyright (c) 2011 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 org.eclipse.tcf.te.tcf.core.internal.interfaces;
import org.eclipse.tcf.protocol.IChannel;
import org.eclipse.tcf.protocol.Protocol.ChannelOpenListener;
/**
* Enhanced channel open listener interface for internal use.
*/
public interface IChannelOpenListener extends ChannelOpenListener {
/**
* Stores the given channel listener to the internal map. The map
* key is the given channel. If the given channel listener is <code>null</code>,
* the channel is removed from the internal map.
*
* @param channel The channel. Must not be <code>null</code>.
* @param listener The channel listener or <code>null</code>.
*/
public void setChannelListener(IChannel channel, IChannel.IChannelListener listener);
}
|