/*******************************************************************************
* 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();
}