Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1b30e460803be0b247b21c5edfb55cab70eee822 (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) 2010, 2011 Intel Corporation. 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:
 *    Intel Corporation - initial API and implementation
 ******************************************************************************/

package org.eclipse.tcf.internal.rse;

import org.eclipse.tcf.protocol.IChannel;

public interface ITCFSessionProvider {
    public static final int ERROR_CODE = 100; // filed error code
    public static final int SUCCESS_CODE = 150; // login pass code
    public static final int CONNECT_CLOSED = 200; // code for end of login attempts
    public static final int TCP_CONNECT_TIMEOUT = 10; //seconds - TODO: Make configurable

    public IChannel getChannel();
    public String getSessionUserId();
    public String getSessionPassword();
    public String getSessionHostName();
    public void onStreamsConnecting();
    public void onStreamsID(String id);
    public void onStreamsConnected();
}

Back to the top