Bouncy Castle Cryptography Library 1.49

org.bouncycastle.crypto.tls
Interface DatagramTransport

All Known Implementing Classes:
DTLSTransport, UDPTransport

public interface DatagramTransport


Method Summary
 void close()
           
 int getReceiveLimit()
           
 int getSendLimit()
           
 int receive(byte[] buf, int off, int len, int waitMillis)
           
 void send(byte[] buf, int off, int len)
           
 

Method Detail

getReceiveLimit

int getReceiveLimit()
                    throws java.io.IOException
Throws:
java.io.IOException

getSendLimit

int getSendLimit()
                 throws java.io.IOException
Throws:
java.io.IOException

receive

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

send

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

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException

Bouncy Castle Cryptography Library 1.49