public class DTLSTransport extends java.lang.Object implements DatagramTransport
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getReceiveLimit() |
int |
getSendLimit() |
int |
receive(byte[] buf,
int off,
int len,
int waitMillis) |
int |
receive(byte[] buf,
int off,
int len,
int waitMillis,
DTLSRecordCallback recordCallback) |
int |
receivePending(byte[] buf,
int off,
int len) |
int |
receivePending(byte[] buf,
int off,
int len,
DTLSRecordCallback recordCallback) |
void |
send(byte[] buf,
int off,
int len) |
public int getReceiveLimit() throws java.io.IOException
getReceiveLimit
in interface DatagramReceiver
java.io.IOException
public int getSendLimit() throws java.io.IOException
getSendLimit
in interface DatagramSender
java.io.IOException
public int receive(byte[] buf, int off, int len, int waitMillis) throws java.io.IOException
receive
in interface DatagramReceiver
java.io.IOException
public int receive(byte[] buf, int off, int len, int waitMillis, DTLSRecordCallback recordCallback) throws java.io.IOException
java.io.IOException
public int receivePending(byte[] buf, int off, int len) throws java.io.IOException
java.io.IOException
public int receivePending(byte[] buf, int off, int len, DTLSRecordCallback recordCallback) throws java.io.IOException
java.io.IOException
public void send(byte[] buf, int off, int len) throws java.io.IOException
send
in interface DatagramSender
java.io.IOException
public void close() throws java.io.IOException
close
in interface TlsCloseable
java.io.IOException