|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UserId | |
aigames.soccer.application | Contains AI Soccer application for SNIFOS system. |
aigames.soccer.communication | Contains TCP\IP sockets communication module for SNIFOS system. |
snifos.application | Contains classes related to applications in SNIFOS system. |
snifos.application.test | Contains dummy interface implementations for testing purposes. |
snifos.common | Contains classes used in other SNIFOS packages. |
snifos.communication | Contains classes used by server communication modules. |
snifos.communication.test | Contains dummy implementation of communication interface. |
snifos.server | Contains classes used by SNIFOS server. |
snifos.server.test | Contains dummy implementation of server interface. |
Uses of UserId in aigames.soccer.application |
Methods in aigames.soccer.application that return UserId | |
UserId |
Message.getUserId()
Returns user id of a user which send the message. |
UserId |
UserInfo.getUserId()
Returns user id. |
Methods in aigames.soccer.application with parameters of type UserId | |
void |
MessageSender.sendGameParameters(UserId userId,
int width,
int height,
int goal,
int side,
boolean begin)
Sends game parameters to given user. |
void |
MessageSender.sendGameOver(java.lang.String winner,
UserId userId)
Sends game over message. |
void |
MessageSender.forwardIncoming(org.dom4j.Document message,
UserId userId)
Forwards incoming message to other user. |
void |
MessageSender.sendWithConfirmation(UserId userId,
org.dom4j.Document messageToSend)
Sends message and recods it to await for its confirmation. |
void |
MessageSender.sendLogGameOver(java.lang.String winner,
UserId id)
Sends game over message as log message. |
void |
MessageSender.sendLogMove(Move move,
UserId id,
java.util.Date date)
Sends move message as log message. |
void |
SoccerApp.unregisterUser(UserId userId)
|
void |
SoccerApp.receiveMessage(UserId userId,
org.dom4j.Document messageDoc)
|
void |
SoccerApp.registerUser(UserId userId,
org.dom4j.Document message)
|
Constructors in aigames.soccer.application with parameters of type UserId | |
Message(UserId userId,
org.dom4j.Document message)
Message constructor. |
|
UserInfo(UserId userId)
Constructor with user id. |
|
UserInfo(UserId userId,
org.dom4j.Document message)
Constructor which sets user id and reads user type from message. |
Uses of UserId in aigames.soccer.communication |
Methods in aigames.soccer.communication that return UserId | |
UserId |
ClientData.getUserId()
Gettero for user id. |
Methods in aigames.soccer.communication with parameters of type UserId | |
void |
SocketCommModule.sendMessage(UserId userId,
org.dom4j.Document message)
|
void |
SocketCommModule.disconnectUser(UserId userId)
|
Constructors in aigames.soccer.communication with parameters of type UserId | |
ClientData(java.nio.channels.SocketChannel socket,
UserId userId)
Deafult constructor. |
Uses of UserId in snifos.application |
Methods in snifos.application with parameters of type UserId | |
void |
Application.unregisterUser(UserId userId)
Unregisters user with given id (for example after user disconnects). |
void |
Application.registerUser(UserId userId,
org.dom4j.Document message)
Registers user with given id. |
void |
Application.receiveMessage(UserId userId,
org.dom4j.Document message)
Called by server to pass message from user to this instance of application. |
Uses of UserId in snifos.application.test |
Methods in snifos.application.test with parameters of type UserId | |
void |
DummyApplication.unregisterUser(UserId userId)
|
void |
DummyApplication.receiveMessage(UserId userId,
org.dom4j.Document message)
|
void |
DummyApplication.registerUser(UserId userId,
org.dom4j.Document message)
This application accepts user only when user id in user's communication module can be divided by "userId" configuration parameter without remainder. |
Uses of UserId in snifos.common |
Methods in snifos.common with parameters of type UserId | |
boolean |
UserId.equals(UserId that)
Checks equality of two user ids. |
Uses of UserId in snifos.communication |
Methods in snifos.communication with parameters of type UserId | |
void |
CommModule.sendMessage(UserId userId,
org.dom4j.Document message)
Called by server to send message to user. |
void |
CommModule.disconnectUser(UserId userId)
Disconnects given user from a module. |
Uses of UserId in snifos.communication.test |
Methods in snifos.communication.test with parameters of type UserId | |
void |
DummyCommModule.sendMessage(UserId userId,
org.dom4j.Document message)
|
void |
DummyCommModule.disconnectUser(UserId userId)
|
Uses of UserId in snifos.server |
Methods in snifos.server with parameters of type UserId | |
void |
Server.sendMessage(UserId userId,
org.dom4j.Document message)
Called by application to send message to user. |
void |
Server.receiveMessage(UserId userId,
org.dom4j.Document message)
Called by communication module to pass message from user to appropriate application. |
void |
Server.disconnectUser(UserId userId)
Disconnects user with given id from server. |
void |
Server.unregisterUser(UserId userId)
Unregisters user with given id from server application. |
void |
SnifosServer.sendMessage(UserId userId,
org.dom4j.Document message)
|
void |
SnifosServer.receiveMessage(UserId userId,
org.dom4j.Document message)
|
void |
SnifosServer.disconnectUser(UserId userId)
|
void |
SnifosServer.unregisterUser(UserId userId)
|
Uses of UserId in snifos.server.test |
Methods in snifos.server.test that return UserId | |
UserId |
DummyServer.getUserId()
Returns last user id which was passed to send message method. |
Methods in snifos.server.test with parameters of type UserId | |
void |
DummyServer.sendMessage(UserId userId,
org.dom4j.Document message)
Just stores the message and user id inside the server. |
void |
DummyServer.receiveMessage(UserId userId,
org.dom4j.Document message)
|
void |
DummyServer.disconnectUser(UserId userId)
|
void |
DummyServer.unregisterUser(UserId userId)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |