Example usage for java.io OutputStream interface-usage

List of usage examples for java.io OutputStream interface-usage

Introduction

In this page you can find the example usage for java.io OutputStream interface-usage.

Usage

From source file com.espertech.esper.example.transaction.sim.PrinterOutputStream.java

/** Subclass to output events in your preferred format.
 *
 * @author Hans Gilde
 */
public class PrinterOutputStream implements OutputStream {
    private PrintStream os;

From source file com.espertech.esper.example.transaction.sim.FeederOutputStream.java

public class FeederOutputStream implements OutputStream {
    private final EPRuntime runtime;
    private final long startTimeMSec;

    // We keep increasing the current time to simulate a 30 minute window
    private long currentTimeMSec;