11 lines
198 B
Kotlin
11 lines
198 B
Kotlin
|
package drills.drill01.exercise3
|
||
|
|
||
|
import util.rmi.Server
|
||
|
|
||
|
fun main() {
|
||
|
Server {
|
||
|
val psFactory = ConcretePrintServiceFactory()
|
||
|
Server.bind(psFactory, "psfactory")
|
||
|
}.start()
|
||
|
}
|