Example usage for java.nio.channels Pipe open

List of usage examples for java.nio.channels Pipe open

Introduction

In this page you can find the example usage for java.nio.channels Pipe open.

Prototype

public static Pipe open() throws IOException 

Source Link

Document

Opens a pipe.

Usage

From source file:org.jenkinsci.remoting.protocol.impl.AckFilterLayerTest.java

@Before
public void setUpPipe() throws Exception {
    clientToServer = Pipe.open();
    serverToClient = Pipe.open();
}