public class GameServer
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static GameServer |
create(int port) |
|
GameServer |
onRequest(java.util.function.Predicate<SC2APIProtocol.Sc2Api.Request> condition,
java.util.function.Supplier<SC2APIProtocol.Sc2Api.Response> responseSupplier) |
|
GameServer |
start() |
|
boolean |
stop() |
|
java.lang.String |
toString() |
public static GameServer create(int port)
public GameServer start()
public GameServer onRequest(java.util.function.Predicate<SC2APIProtocol.Sc2Api.Request> condition, java.util.function.Supplier<SC2APIProtocol.Sc2Api.Response> responseSupplier)
public boolean stop()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017–2018 Ocraft Project. All rights reserved.