TelnetConfig

class TelnetConfig(terminalTypes: List<String> = listOf("UNKNOWN"), val columns: Int = 0, val rows: Int = 0, val profile: TelnetProfile = TelnetProfile.PASSIVE, val nonBinaryPolicy: NonBinaryPolicy = NonBinaryPolicy.STRICT_ASCII, val newlinePolicy: NewlinePolicy = NewlinePolicy.PRESERVE_LF, val consumeRecords: Boolean = false, val charset: String? = null, val maxSubnegotiationBytes: Int = 64 * 1024, val inputBudgetBytes: Int = 256 * 1024, val outputBudgetBytes: Int = 256 * 1024, val maxPendingEvents: Int = 8192, val controlBudgetBytes: Int = 32 * 1024, val charsetTimeoutMillis: Long, val closeTimeoutMillis: Long)(source)

Immutable protocol settings. Terminal capabilities must match the actual emulator.

Throws

for invalid capabilities, dimensions, budgets or deadlines.

Constructors

Link copied to clipboard
constructor(terminalTypes: List<String> = listOf("UNKNOWN"), columns: Int = 0, rows: Int = 0, profile: TelnetProfile = TelnetProfile.PASSIVE, nonBinaryPolicy: NonBinaryPolicy = NonBinaryPolicy.STRICT_ASCII, newlinePolicy: NewlinePolicy = NewlinePolicy.PRESERVE_LF, consumeRecords: Boolean = false, charset: String? = null, maxSubnegotiationBytes: Int = 64 * 1024, inputBudgetBytes: Int = 256 * 1024, outputBudgetBytes: Int = 256 * 1024, maxPendingEvents: Int = 8192, controlBudgetBytes: Int = 32 * 1024, charsetTimeoutMillis: Long, closeTimeoutMillis: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rows: Int
Link copied to clipboard