public class LoggingDatagramTransport extends java.lang.Object implements DatagramTransport
| Constructor and Description |
|---|
LoggingDatagramTransport(DatagramTransport transport,
java.io.PrintStream output) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getReceiveLimit() |
int |
getSendLimit() |
int |
receive(byte[] buf,
int off,
int len,
int waitMillis) |
void |
send(byte[] buf,
int off,
int len) |
public LoggingDatagramTransport(DatagramTransport transport, java.io.PrintStream output)
public int getReceiveLimit()
throws java.io.IOException
getReceiveLimit in interface DatagramTransportjava.io.IOExceptionpublic int getSendLimit()
throws java.io.IOException
getSendLimit in interface DatagramTransportjava.io.IOExceptionpublic int receive(byte[] buf,
int off,
int len,
int waitMillis)
throws java.io.IOException
receive in interface DatagramTransportjava.io.IOExceptionpublic void send(byte[] buf,
int off,
int len)
throws java.io.IOException
send in interface DatagramTransportjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface DatagramTransportjava.io.IOException