Class MultiServer
java.lang.Object
preponderous.ponder.networking.abs.MultiServer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
int
boolean
void
setListening(boolean listening)
void
setPortNumber(int portNumber)
void
setServerSocket(ServerSocket serverSocket)
void
start()
void
stop()
-
Constructor Details
-
MultiServer
public MultiServer(int port)
-
-
Method Details
-
createNewServerThread
public abstract void createNewServerThread() -
start
public void start() -
stop
public void stop() -
getPortNumber
public int getPortNumber() -
setPortNumber
public void setPortNumber(int portNumber) -
getServerSocket
-
setServerSocket
-
setListening
public void setListening(boolean listening) -
isListening
public boolean isListening()
-