Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class DTLSTransport

java.lang.Object
  |
  +--org.bouncycastle.crypto.tls.DTLSTransport
All Implemented Interfaces:
DatagramTransport, TlsCloseable

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

public class DTLSTransport
extends java.lang.Object
implements DatagramTransport


Method Summary
 void close()
          Deprecated.  
 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getReceiveLimit

public int getReceiveLimit()
                    throws java.io.IOException
Deprecated. 
Specified by:
getReceiveLimit in interface DatagramTransport

getSendLimit

public int getSendLimit()
                 throws java.io.IOException
Deprecated. 
Specified by:
getSendLimit in interface DatagramTransport

receive

public int receive(byte[] buf,
                   int off,
                   int len,
                   int waitMillis)
            throws java.io.IOException
Deprecated. 
Specified by:
receive in interface DatagramTransport

send

public void send(byte[] buf,
                 int off,
                 int len)
          throws java.io.IOException
Deprecated. 
Specified by:
send in interface DatagramTransport

close

public void close()
           throws java.io.IOException
Deprecated. 
Specified by:
close in interface TlsCloseable

Bouncy Castle Cryptography Library 1.64