public class TCPImageFetcher
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_IMG_SIZE_BYTES |
static int |
READ_TIMEOUT_MS |
static int |
VIDEO_TO_PC_PORT |
| Constructor and Description |
|---|
TCPImageFetcher(int teamNumber)
Creates a new TCPImageFetcher which will attempt to read from the
given team's robot
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
fetch()
Reads and returns an image from the associated socket connection.
|
public static final int MAX_IMG_SIZE_BYTES
public static final int READ_TIMEOUT_MS
public static final int VIDEO_TO_PC_PORT