Top Description Fields Constructors Methods
org.jboss.marshalling

public final Class BytePipe

extends Object
Class Inheritance
Imports
java.io.IOException, .PipedInputStream, .PipedOutputStream

A paired ByteInput and ByteOutput. Each end must be used from a different thread, otherwise a deadlock condition will occur.

Field Summary

Modifier and TypeField and Description
private final ByteInput
private final ByteOutput

Constructor Summary

AccessConstructor and Description
public
BytePipe()

Construct a new instance.

Method Summary

Modifier and TypeMethod and Description
public ByteInput

Returns:

the input side
getInput
()

Get the input side of this pipe.

public ByteOutput

Returns:

the output side
getOutput
()

Get the output side of this pipe.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

inputback to summary
private final ByteInput input
outputback to summary
private final ByteOutput output

Constructor Detail

BytePipeback to summary
public BytePipe()

Construct a new instance.

Method Detail

getInputback to summary
public ByteInput getInput()

Get the input side of this pipe.

Returns:ByteInput

the input side

getOutputback to summary
public ByteOutput getOutput()

Get the output side of this pipe.

Returns:ByteOutput

the output side