protected class TcpConnection.Receiver extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buffer |
protected boolean |
receiving |
protected Thread |
recv |
Constructor and Description |
---|
Receiver(ThreadFactory f) |
Modifier and Type | Method and Description |
---|---|
int |
bufferSize() |
boolean |
canRun() |
boolean |
isRunning() |
void |
run() |
TcpConnection.Receiver |
start() |
TcpConnection.Receiver |
stop() |
protected final Thread recv
protected volatile boolean receiving
protected volatile byte[] buffer
public Receiver(ThreadFactory f)
public TcpConnection.Receiver start()
public TcpConnection.Receiver stop()
public boolean isRunning()
public boolean canRun()
public int bufferSize()
Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.