12 lines
206 B
Kotlin
12 lines
206 B
Kotlin
|
package drills.drill01.exercise2
|
||
|
|
||
|
import util.rmi.Server
|
||
|
|
||
|
fun main() {
|
||
|
Server {
|
||
|
val ps: PrintService =
|
||
|
PrintServiceImpl("ps")
|
||
|
Server.bind(ps, "printservice")
|
||
|
}.start()
|
||
|
}
|