Top Fields Constructors Methods
org.bouncycastle.tls

public Class DTLSTransport

extends Object
implements DatagramTransport
Class Inheritance
All Implemented Interfaces
org.bouncycastle.tls.DatagramTransport, org.bouncycastle.tls.TlsCloseable, org.bouncycastle.tls.DatagramSender, org.bouncycastle.tls.DatagramReceiver
Imports
java.io.IOException, .InterruptedIOException

Field Summary

Modifier and TypeField and Description
private final DTLSRecordLayer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
public int
public int
public int
receive(byte[] buf, int off, int len, int waitMillis)

Implements org.bouncycastle.tls.DatagramReceiver.receive.

public int
receive(byte[] buf, int off, int len, int waitMillis, DTLSRecordCallback recordCallback)

public int
receivePending(byte[] buf, int off, int len)

public int
receivePending(byte[] buf, int off, int len, DTLSRecordCallback recordCallback)

public void
send(byte[] buf, int off, int len)

Implements org.bouncycastle.tls.DatagramSender.send.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

recordLayerback to summary
private final DTLSRecordLayer recordLayer

Constructor Detail

DTLSTransportback to summary
pack-priv DTLSTransport(DTLSRecordLayer recordLayer)

Method Detail

closeback to summary
public void close() throws IOException

Implements org.bouncycastle.tls.TlsCloseable.close.

getReceiveLimitback to summary
public int getReceiveLimit() throws IOException

Implements org.bouncycastle.tls.DatagramReceiver.getReceiveLimit.

getSendLimitback to summary
public int getSendLimit() throws IOException

Implements org.bouncycastle.tls.DatagramSender.getSendLimit.

receiveback to summary
public int receive(byte[] buf, int off, int len, int waitMillis) throws IOException

Implements org.bouncycastle.tls.DatagramReceiver.receive.

receiveback to summary
public int receive(byte[] buf, int off, int len, int waitMillis, DTLSRecordCallback recordCallback) throws IOException
receivePendingback to summary
public int receivePending(byte[] buf, int off, int len) throws IOException
receivePendingback to summary
public int receivePending(byte[] buf, int off, int len, DTLSRecordCallback recordCallback) throws IOException
sendback to summary
public void send(byte[] buf, int off, int len) throws IOException

Implements org.bouncycastle.tls.DatagramSender.send.