Class Connection
java.lang.Object
org.gradle.profiler.client.protocol.Connection
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()bytereadByte(int timeout) intreadInt(int timeout) longreadLong(int timeout) readString(int timeout) readStrings(int timeout) voidwriteByte(byte value) voidwriteInt(int value) voidwriteLong(long value) voidwriteString(String value) voidwriteStrings(List<String> strings)
-
Constructor Details
-
Connection
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
readByte
- Throws:
IOException
-
writeByte
- Throws:
IOException
-
readInt
- Throws:
IOException
-
writeInt
- Throws:
IOException
-
readLong
- Throws:
IOException
-
writeLong
- Throws:
IOException
-
readString
- Throws:
IOException
-
writeString
- Throws:
IOException
-
readStrings
- Throws:
IOException
-
writeStrings
- Throws:
IOException
-
flush
- Throws:
IOException
-