java.lang.Object
org.xnio.ChannelPipe<L,R>
public final class ChannelPipe<L extends CloseableChannel,R extends CloseableChannel>
extends Object
A one-way pipe.
- Author:
- David M. Lloyd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the pipe source.Get the pipe sink.
-
Constructor Details
-
ChannelPipe
Construct a new instance.- Parameters:
leftSide
- the pipe left siderightSide
- the pipe right side
-
-
Method Details
-
getLeftSide
Get the pipe source.- Returns:
- the pipe source
-
getRightSide
Get the pipe sink.- Returns:
- the pipe sink
-