blob: 1c1d891489a3daf007f0a6f98f59dc75c513ab4e [file] [log] [blame]
/*=============================================================================#
# Copyright (c) 2008, 2017 Stephan Wahlbrink and others.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation
#=============================================================================*/
package org.eclipse.statet.rj.server;
/**
* Interface for all communication exchange objects.
*/
public interface RjsComObject {
/**
* {@link RjsStatus}
*/
public static final int T_STATUS= 1;
/**
* {@link RjsPing}
*/
public static final int T_PING= 2;
/**
* {@link MainCmdS2CList}
*/
public static final int T_MAIN_LIST= 3;
/**
* {@link BinExchange}
*/
public static final int T_FILE_EXCHANGE= 4;
/**
* {@link CtrlCmdItem}
*/
public static final int T_CTRL= 5;
/**
* {@link DbgCmdItem}
*/
public static final int T_DBG= 6;
// Same value as in IStatus
public static final int V_OK= RjsStatus.OK;
public static final int V_INFO= RjsStatus.INFO;
public static final int V_WARNING= RjsStatus.WARNING;
public static final int V_ERROR= RjsStatus.ERROR;
public static final int V_CANCEL= RjsStatus.CANCEL;
public static final int V_FALSE= 0x0;
public static final int V_TRUE= 0x1;
public int getComType();
}