toggle menu
flatInvoker
common
switch theme
search in API
flatinvoker-ffi
/
dev.shibasis.flatinvoker.ffi.transport
/
Transport
Transport
abstract
class
Transport
<
Controller
>
(
controller
:
Controller
)
:
Adapter
<
Controller
>
Inheritors
ByteBufferTransport
Members
Constructors
Transport
Link copied to clipboard
constructor
(
controller
:
Controller
)
Types
Async
Response
Link copied to clipboard
fun
interface
AsyncResponse
Receive
Flow
Link copied to clipboard
fun
interface
ReceiveFlow
Receive
Single
Link copied to clipboard
fun
interface
ReceiveSingle
Sync
Response
Link copied to clipboard
fun
interface
SyncResponse
Properties
controller
Link copied to clipboard
val
controller
:
Controller
?
NULL_CONTROLLER
Link copied to clipboard
val
NULL_CONTROLLER
:
Error
ref
Link copied to clipboard
val
ref
:
WeakRef
<
Controller
>
scope
Link copied to clipboard
val
scope
:
CoroutineScope
Functions
handle
Link copied to clipboard
open
override
fun
handle
(
event
:
ControllerEvent
)
fun
handle
(
controller
:
Controller
,
event
:
ControllerEvent
)
invoke
Link copied to clipboard
operator
fun
<
Result
>
invoke
(
function
:
Controller
.
(
)
->
Result
?
)
:
Result
?
invoke
Suspend
Link copied to clipboard
suspend
fun
<
Result
>
invokeSuspend
(
function
:
suspend
Controller
.
(
)
->
Result
?
)
:
Result
?
null
Controller
Result
Link copied to clipboard
fun
<
T
>
nullControllerResult
(
)
:
Result
<
T
>