Class CoopMaster
java.lang.Object
zombie.network.CoopMaster
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
static enum
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addListener
(ICoopServerMessageListener iCoopServerMessageListener) void
addListener
(ICoopServerMessageListener iCoopServerMessageListener, CoopMaster.ListenerOptions listenerOptions) getPlayerSaveFolder
(String string) int
getServerSaveFolder
(String string) void
invokeServer
(String string1, String string2, ICoopServerMessageListener iCoopServerMessageListener) boolean
void
launchServer
(String string0, String string1, int int0) void
register
(Platform platform, KahluaTable table1) void
removeListener
(ICoopServerMessageListener iCoopServerMessageListener) void
sendMessage
(String string0, String string1) void
sendMessage
(String string0, String string1, String string2) void
void
update()
-
Field Details
-
instance
-
-
Method Details
-
getServerPort
public int getServerPort() -
launchServer
- Throws:
IOException
-
softreset
- Throws:
IOException
-
abortServer
public void abortServer() -
isRunning
public boolean isRunning() -
terminationReason
-
sendMessage
-
sendMessage
-
invokeServer
public void invokeServer(String string1, String string2, ICoopServerMessageListener iCoopServerMessageListener) -
getMessage
-
update
public void update() -
register
-
addListener
public void addListener(ICoopServerMessageListener iCoopServerMessageListener, CoopMaster.ListenerOptions listenerOptions) -
addListener
-
removeListener
-
getServerName
-
getServerSaveFolder
-
getPlayerSaveFolder
-