Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Interface DatagramTransport

All Superinterfaces:
TlsCloseable
All Known Implementing Classes:
DTLSTransport, UDPTransport

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public interface DatagramTransport
extends TlsCloseable

Base interface for an object sending and receiving DTLS data.


Method Summary
 int getReceiveLimit()
          Deprecated.  
 int getSendLimit()
          Deprecated.  
 int receive(byte[] buf, int off, int len, int waitMillis)
          Deprecated.  
 void send(byte[] buf, int off, int len)
          Deprecated.  
 
Methods inherited from interface org.bouncycastle.crypto.tls.TlsCloseable
close
 

Method Detail

getReceiveLimit

public int getReceiveLimit()
                    throws java.io.IOException
Deprecated. 

getSendLimit

public int getSendLimit()
                 throws java.io.IOException
Deprecated. 

receive

public int receive(byte[] buf,
                   int off,
                   int len,
                   int waitMillis)
            throws java.io.IOException
Deprecated. 

send

public void send(byte[] buf,
                 int off,
                 int len)
          throws java.io.IOException
Deprecated. 

Bouncy Castle Cryptography Library 1.64