Package | Description |
---|---|
com.yahoo.fs4.mplex | |
com.yahoo.search.dispatch |
Modifier and Type | Method and Description |
---|---|
protected void |
FS4Channel.addPacket(BasicPacket packet)
Add incoming packet to the response queue.
|
BasicPacket |
FS4Channel.nextPacket(long timeout)
Return the next available packet from the response queue.
|
BasicPacket[] |
FS4Channel.receivePackets(long timeout,
int packetCount)
Receives the given number of packets and returns them, OR
Returns a smaller number of packets if an error or eol packet is received
Throws a ChannelTimeoutException if timeout occurs before all packets
are received.
|
boolean |
FS4Channel.sendPacket(BasicPacket packet)
Legacy interface.
|
Modifier and Type | Method and Description |
---|---|
BasicPacket[] |
CloseableChannel.receivePackets(long timeout,
int packetCount) |
boolean |
CloseableChannel.sendPacket(BasicPacket packet) |
Copyright © 2018. All rights reserved.