public class ChannelInputWrapper extends java.lang.Object implements ChannelInput
| Constructor and Description |
|---|
ChannelInputWrapper(ChannelInput in)
Deprecated.
Constructs a new wrapper around the given channel end.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endRead()
Deprecated.
Ends an extended rendezvous
|
void |
poison(int strength)
Deprecated.
This injects poison into the channel.
|
java.lang.Object |
read()
Deprecated.
Reads a value from the channel.
|
java.lang.Object |
startRead()
Deprecated.
Begins an extended rendezvous
|
public ChannelInputWrapper(ChannelInput in)
in - the existing channel end.public java.lang.Object read()
read in interface ChannelInputChannelInputpublic java.lang.Object startRead()
startRead in interface ChannelInputChannelInput.startReadpublic void endRead()
endRead in interface ChannelInputChannelInput.endReadpublic void poison(int strength)
Poisonablepoison in interface Poisonablestrength - the strength of the poison (must be >= 0).Copyright © 1996–2019. All rights reserved.