diff options
Diffstat (limited to 'src/main/java/org/bouncycastle/crypto/tls/DatagramTransport.java')
-rw-r--r-- | src/main/java/org/bouncycastle/crypto/tls/DatagramTransport.java | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/main/java/org/bouncycastle/crypto/tls/DatagramTransport.java b/src/main/java/org/bouncycastle/crypto/tls/DatagramTransport.java index 2c202be0..84c4ee4a 100644 --- a/src/main/java/org/bouncycastle/crypto/tls/DatagramTransport.java +++ b/src/main/java/org/bouncycastle/crypto/tls/DatagramTransport.java @@ -2,15 +2,21 @@ package org.bouncycastle.crypto.tls; import java.io.IOException;
-public interface DatagramTransport {
+public interface DatagramTransport
+{
- int getReceiveLimit() throws IOException;
+ int getReceiveLimit()
+ throws IOException;
- int getSendLimit() throws IOException;
+ int getSendLimit()
+ throws IOException;
- int receive(byte[] buf, int off, int len, int waitMillis) throws IOException;
+ int receive(byte[] buf, int off, int len, int waitMillis)
+ throws IOException;
- void send(byte[] buf, int off, int len) throws IOException;
+ void send(byte[] buf, int off, int len)
+ throws IOException;
- void close() throws IOException;
+ void close()
+ throws IOException;
}
|