public class ConnectDatagram extends Connection
Connectionport, server| Constructor and Description |
|---|
ConnectDatagram(java.lang.String server,
int port,
int maxSize)
Construct a new connection to a specified server and port.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
getCache, putCache, run, toStringactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yieldpublic ConnectDatagram(java.lang.String server,
int port,
int maxSize)
throws java.io.IOException
server - The hostname of the serverport - The port number on the servermaxSize - The maximum size in bytes of the received messagejava.io.IOException - if the server does not exist