Interface ComConnection
- All Known Implementing Classes:
ComConnection.Default
,ComTLSConnection
public interface ComConnection
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ComConnection.Default
-
Method Summary
Modifier and Type Method Description void
close()
void
enableSecurity()
ByteBuffer
read(ByteBuffer buffer, int length)
void
readCompletely(ByteBuffer buffer)
void
readUnsecure(ByteBuffer buffer)
void
setTimeOut(int inactivityTimeout)
void
write(ByteBuffer buffer, int timeout)
void
writeCompletely(ByteBuffer buffer)
void
writeUnsecured(ByteBuffer buffer)
-
Method Details
-
close
void close() -
readCompletely
-
writeCompletely
-
read
-
write
-
readUnsecure
-
writeUnsecured
-
enableSecurity
void enableSecurity() -
setTimeOut
void setTimeOut(int inactivityTimeout)
-