abstract class AbstractOutputChannel<T : Any> : AbstractChannel<T>, OutputChannel<T>
Fields
Name | Description |
---|---|
open streamTerm: Struct
|
Constructors
Name | Description |
---|---|
constructor()
|
Methods
write
fun write(value: T)
Parameters
Name | Description |
---|---|
value: T
|
ReturnValue
Name | Description |
---|---|
Unit
|
writeActually
protected abstract fun writeActually(value: T)
Parameters
Name | Description |
---|---|
value: T
|
ReturnValue
Name | Description |
---|---|
Unit
|
toString
open fun toString(): String
ReturnValue
Name | Description |
---|---|
String
|
flush
fun flush()
ReturnValue
Name | Description |
---|---|
Unit
|
flushActually
protected abstract fun flushActually()
ReturnValue
Name | Description |
---|---|
Unit
|