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 ChannelInput
ChannelInput
public java.lang.Object startRead()
startRead
in interface ChannelInput
ChannelInput.startRead
public void endRead()
endRead
in interface ChannelInput
ChannelInput.endRead
public void poison(int strength)
Poisonable
poison
in interface Poisonable
strength
- the strength of the poison (must be >= 0).Copyright © 1996–2020. All rights reserved.