Class DefaultSetup
- java.lang.Object
-
- io.github.henryssondaniel.teacup.core.DefaultSetup
-
-
Constructor Summary
Constructors Constructor Description DefaultSetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getClients()
Returns the clients.java.util.Map<java.lang.String,Server>
getServers()
Returns the servers.java.lang.Object
putClient(java.lang.String name, java.lang.Object client)
Adds a client.Server
putServer(java.lang.String name, Server server)
Adds a server.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.henryssondaniel.teacup.core.Setup
initialize
-
-
-
-
Method Detail
-
getClients
public java.util.Map<java.lang.String,java.lang.Object> getClients()
Description copied from interface:Setup
Returns the clients.- Specified by:
getClients
in interfaceSetup
- Returns:
- the clients
-
getServers
public java.util.Map<java.lang.String,Server> getServers()
Description copied from interface:Setup
Returns the servers.- Specified by:
getServers
in interfaceSetup
- Returns:
- the servers
-
putClient
public java.lang.Object putClient(java.lang.String name, java.lang.Object client)
Description copied from interface:Setup
Adds a client.
-
-