Top Description Fields Constructors Methods
org.xnio

public final Class ChannelPipe<L extends CloseableChannel, R extends CloseableChannel>

extends Object
Class Inheritance
Imports
org.xnio.channels.CloseableChannel

A one-way pipe.
Author
David M. Lloyd

Field Summary

Modifier and TypeField and Description
private final L
private final R

Constructor Summary

AccessConstructor and Description
public
ChannelPipe(final L
the pipe left side
leftSide
,
final R
the pipe right side
rightSide
)

Construct a new instance.

Method Summary

Modifier and TypeMethod and Description
public L

Returns:

the pipe source
getLeftSide
()

Get the pipe source.

public R

Returns:

the pipe sink
getRightSide
()

Get the pipe sink.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

leftSideback to summary
private final L leftSide
rightSideback to summary
private final R rightSide

Constructor Detail

ChannelPipeback to summary
public ChannelPipe(final L leftSide, final R rightSide)

Construct a new instance.

Parameters
leftSide:L

the pipe left side

rightSide:R

the pipe right side

Method Detail

getLeftSideback to summary
public L getLeftSide()

Get the pipe source.

Returns:L

the pipe source

getRightSideback to summary
public R getRightSide()

Get the pipe sink.

Returns:R

the pipe sink