Package zombie.network
Class CoopMaster
java.lang.Object
zombie.network.CoopMaster
public class CoopMaster
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CoopMaster.ListenerOptions
static class
CoopMaster.TerminationReason
-
Field Summary
Fields Modifier and Type Field Description static CoopMaster
instance
-
Method Summary
Modifier and Type Method Description void
abortServer()
void
addListener(ICoopServerMessageListener iCoopServerMessageListener)
void
addListener(ICoopServerMessageListener iCoopServerMessageListener, CoopMaster.ListenerOptions listenerOptions)
java.lang.String
getMessage()
java.lang.String
getPlayerSaveFolder(java.lang.String string)
java.lang.String
getServerName()
java.lang.String
getServerSaveFolder(java.lang.String string)
void
invokeServer(java.lang.String string, java.lang.String string2, ICoopServerMessageListener iCoopServerMessageListener)
boolean
isRunning()
void
launchServer(java.lang.String string, java.lang.String string2, int int1)
void
register(Platform platform, KahluaTable kahluaTable)
void
removeListener(ICoopServerMessageListener iCoopServerMessageListener)
void
sendMessage(java.lang.String string, java.lang.String string2)
void
sendMessage(java.lang.String string, java.lang.String string2, java.lang.String string3)
void
softreset(java.lang.String string, java.lang.String string2, int int1)
CoopMaster.TerminationReason
terminationReason()
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
-
Method Details
-
launchServer
public void launchServer(java.lang.String string, java.lang.String string2, int int1) throws java.io.IOException- Throws:
java.io.IOException
-
softreset
public void softreset(java.lang.String string, java.lang.String string2, int int1) throws java.io.IOException- Throws:
java.io.IOException
-
abortServer
public void abortServer() -
isRunning
public boolean isRunning() -
terminationReason
-
sendMessage
public void sendMessage(java.lang.String string, java.lang.String string2, java.lang.String string3) -
sendMessage
public void sendMessage(java.lang.String string, java.lang.String string2) -
invokeServer
public void invokeServer(java.lang.String string, java.lang.String string2, ICoopServerMessageListener iCoopServerMessageListener) -
getMessage
public java.lang.String getMessage() -
update
public void update() -
register
-
addListener
public void addListener(ICoopServerMessageListener iCoopServerMessageListener, CoopMaster.ListenerOptions listenerOptions) -
addListener
-
removeListener
-
getServerName
public java.lang.String getServerName() -
getServerSaveFolder
public java.lang.String getServerSaveFolder(java.lang.String string) -
getPlayerSaveFolder
public java.lang.String getPlayerSaveFolder(java.lang.String string)
-