|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.sics.tasim.is.EventWriter
se.sics.tasim.is.InfoConnection
se.sics.tasim.is.common.InfoConnectionImpl
se.sics.tasim.is.common.BuiltinInfoConnection
public class BuiltinInfoConnection
Setup the information system to be builtin in a simulation server
Field Summary |
---|
Fields inherited from class se.sics.tasim.is.InfoConnection |
---|
CREATE_SIMULATION, JOIN_SIMULATION, REMOVE_SIMULATION, RESERVE_TIME, SCHEDULE_COMPETITION, SIM_ID, STATUS, STATUS_READY, UNIQUE_SIM_ID |
Constructor Summary | |
---|---|
BuiltinInfoConnection()
|
Method Summary | |
---|---|
void |
auth(java.lang.String serverName,
java.lang.String serverPassword,
java.lang.String serverVersion)
|
void |
init(ConfigManager config)
|
void |
setSimConnection(SimConnection connection)
This method sets the corresponding connection "listener" that handles messages to the simulation server. |
Methods inherited from class se.sics.tasim.is.common.InfoConnectionImpl |
---|
addUser, checkUser, close, dataUpdated, dataUpdated, dataUpdated, dataUpdated, dataUpdated, dataUpdated, dataUpdated, dataUpdated, intCache, interaction, interactionWithRole, nextTimeUnit, participant, requestFailed, requestSuccessful, sendChatMessage, setSimServer, simulationCreated, simulationCreated, simulationJoined, simulationLocked, simulationRemoved, simulationStarted, simulationStopped |
Methods inherited from class se.sics.tasim.is.InfoConnection |
---|
getServerName, getServerPassword, getServerVersion, getSimConnection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuiltinInfoConnection()
Method Detail |
---|
public void init(ConfigManager config) throws IllegalConfigurationException, java.io.IOException
init
in class InfoConnectionImpl
IllegalConfigurationException
java.io.IOException
public void setSimConnection(SimConnection connection)
InfoConnection
setSimConnection
in class InfoConnection
connection
- the SimConnection
to use for communication to the
simulation serverpublic void auth(java.lang.String serverName, java.lang.String serverPassword, java.lang.String serverVersion)
auth
in class InfoConnection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |