Dokka MultiModule Example
androidJvm
pos-service
/
su.ips.pos_service.service.server
/
ConnectionWorker
Connection
Worker
class
ConnectionWorker
(
clientSocket
:
Socket
,
onConnect
:
(
)
->
Unit
,
onRequest
:
(
String
)
->
Unit
)
:
Runnable
Members
Constructors
Connection
Worker
Link copied to clipboard
constructor
(
clientSocket
:
Socket
,
onConnect
:
(
)
->
Unit
,
onRequest
:
(
String
)
->
Unit
)
Functions
interrupt
Connection
Link copied to clipboard
fun
interruptConnection
(
)
run
Link copied to clipboard
open
override
fun
run
(
)
send
Response
Link copied to clipboard
fun
sendResponse
(
msg
:
ByteArray
)