blob: 1b9f2d3aad1a0bb93b98b4ca1606b23068f15b95 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2019 Xored Software Inc and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Xored Software Inc - initial API and implementation and/or initial documentation
*******************************************************************************/
package org.eclipse.rcptt.tesla.core.protocol;
import java.io.IOException;
import org.eclipse.rcptt.tesla.core.protocol.raw.Command;
import org.eclipse.rcptt.tesla.core.protocol.raw.Response;
public abstract class TeslaStream {
public abstract Command readCommand();
public abstract Response readResponse() throws IOException;
public abstract void writeCommand(Command command);
public abstract void writeResponse(Response command);
public abstract void terminate();
}